[dev] need a hint on sub-permissions in horde 4

Michael M Slusarz slusarz at horde.org
Tue Nov 2 17:23:04 UTC 2010


Quoting Ralf Lang <lang at b1-systems.de>:

>         $perms = array(
>             'max_blocks' => array(
>                 'title' => _("Maximum Number of Portal Blocks"),
>                 'type' => 'int'
>             ),
>             'administration'=> array(
>                 'title' => _("Administration Permissions"),
>                 'type' => 'boolean'
>             ),
>             'administration:somesubpermission' => array(
>                 'title' => _("Permission for XYZ"),
>                 'type' => 'boolean'
>             ),
>         );
>         return $perms;
>
> At least I don't see the difference to your example and in the admin  
> screen No
> sub-permission sign (keyring) turns up behind "administration". I'm  
> a bit lost
> on this.

The perms array looks correct.  There's probably a error in the  
parsing code.  I will take a look here in a bit.

michael

-- 
___________________________________
Michael Slusarz [slusarz at horde.org]




More information about the dev mailing list