Closed (fixed)
Project:
Secure Permissions
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jan 2012 at 17:27 UTC
Updated:
20 Jun 2013 at 21:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
agentrickardSince this can be mitigated (by setting a permission), I don't see it as critical.
I wrote this module to prove a point. It needs a new maintainer.
Patches welcome.
Comment #2
tunny commentedPatch attached.
This works for me. However it will need double checking.
If a role isn't defined in the exported settings, it will now lose all its permissions. Is this correct behaviour?
Comment #3
agentrickardProbably. Given that exporting an empty role would be a destructive act.
Comment #4
mikebell_ commentedWe've been using this in production for a few months now without any issues.
If someone else wants to review then I'll commit it.
Comment #5
cameron tod commentedPatch looks fine to me.
Comment #6
kasperg commentedRan into the same problem for the Drupal 7 1.5 version of the module.
Here is a patch for that.
Comment #7
xen commentedTypo in previous patch, this fixes that.
Comment #8
ultimateboy commentedThanks all. Committed to 7.x.
http://drupalcode.org/project/secure_permissions.git/commit/f72dc8c631f7...