[rt-devel] Only user with SuperUser rights can see Modify who receives mail for ticket

Emmanuel Lacour elacour at easter-eggs.com
Mon Oct 10 12:17:19 EDT 2016


Le 10/10/2016 à 18:00, Tobi hfhf a écrit :
>
> Hello,
>
>  
>
> I would like that this piece of code in the ModifyPeople.html File is
> executable only for user with SuperUser rights.
>
>  
>
> I tried to use the code without sucess
>
>  
>
> +if  ($UserObj->CurrentUserHasRight('SuperUser')) {
>
it's perl code, so you're missing a "%" sign here.

> +}
>

here too.

don't forget to clear the mason cache before testing again.


-- 
Easter-eggs                              Spécialiste GNU/Linux
44-46 rue de l'Ouest  -  75014 Paris  -  France -  Métro Gaité
Phone: +33 (0) 1 43 35 00 37    -   Fax: +33 (0) 1 43 35 00 76
mailto:elacour at easter-eggs.com  -   http://www.easter-eggs.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-devel/attachments/20161010/f694d902/attachment.html>


More information about the rt-devel mailing list