[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AW: [Phpgroupware-developers] admin-modul enabled for the use?
From: |
Matthias Leonhardt |
Subject: |
AW: [Phpgroupware-developers] admin-modul enabled for the use? |
Date: |
Thu, 3 Jun 2004 10:31:49 +0200 |
Hi Chris and Dave,
thanks for your help! - thats it.
regards, Matthias
-----Ursprüngliche Nachricht-----
Von: Chris Weiss [mailto:address@hidden
Gesendet: Dienstag, 1. Juni 2004 14:24
An: address@hidden
Betreff: Re: [Phpgroupware-developers] admin-modul enabled for the use?
$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
>
_______________________________________________
Phpgroupware-developers mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/phpgroupware-developers
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- AW: [Phpgroupware-developers] admin-modul enabled for the use?,
Matthias Leonhardt <=