Needs review
Project:
Simple Access
Version:
6.x-2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
22 Dec 2009 at 00:43 UTC
Updated:
19 Feb 2010 at 20:23 UTC
The list of declared permissions is wrong. "assign profiles to profiles" should be "assign access to profiles". Here is a patch, also attached.
--- simple_access-6-x-2-0.module 2009-12-21 20:23:11.000000000 -0500
+++ simple_access.module 2009-12-21 20:21:53.000000000 -0500
@@ -127,7 +127,7 @@
* Implementation of hook_perm().
*/
function simple_access_perm() {
- return array('manage simple access', 'assign access to nodes', 'assign profiles to profiles', 'assign owner permissions');
+ return array('manage simple access', 'assign access to nodes', 'assign access to profiles', 'assign owner permissions');
}
/**
| Comment | File | Size | Author |
|---|---|---|---|
| simple_access-6-x-2-0.patch | 483 bytes | therzog |
Comments
Comment #1
ahjota commentedThis should be rolled into the module.