[drupal-devel] Permissions aren't transparent

Dries Buytaert dries at buytaert.net
Mon Apr 18 17:45:59 UTC 2005

On 18 Apr 2005, at 14:09, Gerhard Killesreiter wrote:
> foo_perm() {
>   return array('create foo', 'admin foo');
> }
> is the current structure.
> foo_perm() {
>   return array('create foo' => t('Lets you create nodes of type foo.'),
>                'admin foo' => t('Lets you administer nodes of type 
> foo.')
>               );
> }

As an alternative solution, we could stick to the current 
implementation but make the names of the permissions more verbose.

> The idea is to not only display the additional blurb on the admin
> permission page, but also on a sub tab of the user profile pages (or
> directly on /user/n).

I honestly can't think of any site that displays a user his or her 
permissions.  Do you get to see your permissions on amazon.com, 
ebay.com, slashdot.org, cnn.com?  While I could make sense to display 
one's roles, I'm sceptic about displaying individual permissions.  Or 
were you only going to display these permissions to the administrator?

Sure we are trying to fix a problem here?

Dries Buytaert  ::  http://www.buytaert.net/

More information about the drupal-devel mailing list