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

gbrussel’s picture

If you copied and pasted your entire function into that post, then it's missing a closing } bracket after the );

minoura’s picture

I made a mistake of not copying the ending } when I posted my question.

minoura’s picture

I have several Drupal sites and was visiting a wrong site.
Please delete this forum topic.

davemcza’s picture

LOL.
Sure, but your mistake and you code helped me figure out how to add "custom permissions" to my site.
Thanks.