[dev] need a hint on sub-permissions in horde 4
Ralf Lang
lang at b1-systems.de
Tue Nov 2 22:27:11 UTC 2010
Am Dienstag 02 November 2010, 19:06:07 schrieb Michael M Slusarz:
> 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
You're right. Now it works, thank you.
--
Ralf Lang
Linux Consultant / Developer
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
More information about the dev
mailing list