[rt-users] How to hide Configuration Tab ?

Harald Wagener hwagener at hamburg.fcb.com
Fri Apr 12 05:27:05 EDT 2002


Greg Dickerson wrote:
> One other way is to add some logic to $RT/Elements/Tabs. I added this to our install,
> 
> my $toptabs;
> if ($session{'CurrentUser'}->Name eq 'root'){
>          $toptabs = {
You could also test against the user's rights:

if ($session{'CurrentUser'}->HasSystemRight('AdminUsers'))

Then Your Admin users can have non standard names.

[snip]

>                        };
> } else {

[snip]


Regards,
	Harald

PS: folks, please trim Your replies! The mail I'm answering was one 
third the automatically generated mailing list signature. - H.



-- 
Harald Wagener*An der Alster 42*20099 Hamburg*http://www.fcb-wilkens.com





More information about the rt-users mailing list