Active
Project:
Secure Permissions
Version:
7.x-1.5
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
31 Jul 2012 at 21:08 UTC
Updated:
18 Aug 2012 at 03:38 UTC
When updating permissions in code (by deleting a line in my secure_permissions_data.module file) permissions do not get updated in the UI.
I assume the UI is an accurate reflection of actual permissions in effect. (All cache has been flushed).
What's the recommended way to ensure code updates are being used?
Comments
Comment #1
mikebell_ commentedIf you re-save the secure permissions settings page that will re-enforce the permissions in code.
Comment #2
rattusrattus commentedI was not seeing any changes to the role permissions when making changes to the code. One of the roles had no permissions initially and after updating the code with permissions for this role I was able to trigger the import by saving the secure permissions configuration form (admin->config->secure permissions).
Having to click a button to trigger the import is no real problem but maybe it could be made more obvious by adding an 'import' button.
Comment #3
agentrickardThis module could really use a new maintainer. I wrote it to prove a point but don't actually use it.
Comment #4
mikebell_ commentedWe're using the module on quite a few sites now, I'm also in talks with Greg Harvey about various different features. I'm more than happy to take it over and continue development on it.
Comment #5
agentrickardYou already have commit access. After a bit of time doing releases and support, let's look at transferring the project.
Comment #6
doublejosh commentedThanks for the answer on "enforcing" or "reverting" to the in-code permissions.
Not sure if you want to keep this open to create a more obvious button to perform this action.