By minoura on
Hi,
We are creating modules and defining permissions such as
function waterbody_perm() {
return array(
'view waterbody content',
'create waterbody content',
'delete own waterbody content',
'delete any waterbody content',
'edit own waterbody content',
'edit any waterbody content',
);
We now want to assign these permissions to each group of users
such as anonymous users and authenticated users.
However, the interface
Drupal Home --> Administter --> User management --> Permissions
does not list the permissions defined in custom modules.
Is there an interface for assigning custom permissions?
Toshi
Comments
Missing } bracket
If you copied and pasted your entire function into that post, then it's missing a closing
}bracket after the);} is not missing in my actual code
I made a mistake of not copying the ending } when I posted my question.
I was looking at the wrong site.
I have several Drupal sites and was visiting a wrong site.
Please delete this forum topic.
LOL.
LOL.
Sure, but your mistake and you code helped me figure out how to add "custom permissions" to my site.
Thanks.