[dev] need a hint on sub-permissions in horde 4
Michael M Slusarz
slusarz at horde.org
Tue Nov 2 18:06:07 UTC 2010
Quoting Michael M Slusarz <slusarz at horde.org>:
> 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.
Just pushed a commit that might fix things:
commit 4ff93274494d53bdffea842cf5b2d8f331d7099f
Author: Michael M Slusarz <slusarz at curecanti.org>
Date: Tue Nov 2 12:02:42 2010 -0600
Fix permissions tree generation
michael
--
___________________________________
Michael Slusarz [slusarz at horde.org]
More information about the dev
mailing list