[chora] Re: Permissions on sourceroots

offermann at thielpark.de offermann at thielpark.de
Mon Feb 28 12:35:49 PST 2005


For group-permission:

require_once 'Horde/Group.php';
$groups = &Group::singleton();
if ($groups === false) { return; }
if ($groups->userIsInGroup(Auth::getAuth(),'groupname')) {
...
}

Quoting Christian Stadler <webmaster at ragnarokonline.de>:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Christian Stadler schrieb:
>> Jan Schneider schrieb:
>>
>>>> You can enable repositories in sourceroots.php based on user names,
>>>> groups etc. But nothing integrated into Horde's permissions system yet.
>>
>> Can you give an example how to do this?`
>
> anyone?
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.0 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFCIng+9250Hcbf/3IRAoiEAJ99FGETZQuHOpq1xOpvA2mNk1b7kQCfbWv5
> 1+KioMyUk4UZg/LBU3zZ2mw=
> =AfcK
> -----END PGP SIGNATURE-----
>
> --
> Chora mailing list - Join the hunt: http://horde.org/bounties/#chora
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: chora-unsubscribe at lists.horde.org
>
>



----------------------------------------------
This message was sent using Thielpark Webmail.

----------------------------------------------
This message was sent using Thielpark Webmail.


More information about the chora mailing list