phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-developers] admin-modul enabled for the use?


From: Chris Weiss
Subject: Re: [Phpgroupware-developers] admin-modul enabled for the use?
Date: Tue, 01 Jun 2004 12:24:16 +0000

$GLOBALS['phpgw']->acl->check('run',1,'admin')
will tell you if the current user has been granted admin access.  Grabbed that
from a uiadmin class.

Matthias Leonhardt (address@hidden) wrote:
>
> Hi,
>
> what is the simplest way to get the info:
> - is the module admin enabled
> - has the user with $userid access to the module if it is enabled
>
> thanks for your help!
>
> regards, Matthias
>
> Germany
>
> phone 1    +49-3641-776323
> phone 2    +49-511-60066-0
> email      address@hidden
> web        http://www.probusiness.de
>
>
> _______________________________________________
> Phpgroupware-developers mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/phpgroupware-developers
>





reply via email to

[Prev in Thread] Current Thread [Next in Thread]