Or better yet:

defined($Self->{"UserIsGroup[admin]"}) && $Self->{"UserIsGroup[admin]"}
eq 'Yes' 

On Wed, 2010-07-28 at 11:19 +0200, Kiffin Gish wrote:
> $Self->{LayoutObject}->{"UserIsGroup[admin]"};
> 
> On Mon, 2010-07-26 at 21:17 +0200, Kiffin Gish wrote:
> > How can I verify that the current user has admin rights?
> > 
> 

-- 
Kiffin Gish <[email protected]>
Gouda, The Netherlands


---------------------------------------------------------------------
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

Reply via email to