Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I am using protected node in an ongoing project. This project needs that password should be set only for 'view' mode. Users with 'update' access should be able to bypass protection.
Would you consider adding options in the permissions page to set sitewide settings to activate bypass protection for users with 'update' access to the protected node? It should be a fairly easy addition to the current code. Right now, this module doesn't give bypass to users with 'update' access by default and I can't see any way of changing it without hacking the code which I do not want to do.
Comments
Comment #1
izus CreditAttribution: izus commentedHi,
i don't think this will be done.
separating view, update and bypass is a good practice. (and there are more cases like viewing a revision, viewing a node that make reference to a protected node and so and so on...)
I think the simpler and cleaner is having the bypass permission for the editors role. so that you give one role to users that you want to be able to edit content and in the same time they have the bypass permission.