Can I password protect pages with Rules? The Protected node module can, but I'd like to try this module as well. But rules support is critical for me.

Comments

sportel’s picture

Component: Documentation » Code
Category: Support request » Feature request

I took a closer look at this module, and it hasn't got support for the Rules module. I like this module better than the Protected Nodes project, but I really need Rules for setting the password for a page.
So, this is a feature request.

Thanks,

Mike.

varunmishra2006’s picture

@sportel

I will definitely going to include rules support in next release.

trigdog’s picture

Status: Active » Needs review
StatusFileSize
new10.27 KB

Here is a patch for the rules integration. It could be used as a work around for Access to multiple pages with a one password by allowing you to create a rule that will create the session variable for every page with that same password...although, for a lot of pages, I am not sure how well session variables scale or effect performance.

trigdog’s picture

Sorry, didn't realize the patch was missing some files. Here is the correct patch.

niallmurphy-ie’s picture

Excellent! Thank you!