<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Le 10/10/2016 à 18:00, Tobi hfhf a
      écrit :<br>
    </div>
    <blockquote
cite="mid:DB4PR03MB622431BA467C41BEA4AE0B9A4DB0@DB4PR03MB622.eurprd03.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;">
        <p class="MsoNormal">Hello, <o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I would like that this piece of code in the
          ModifyPeople.html File is executable only for user with
          SuperUser rights.
          <o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I tried to use the code without sucess<span
            style="font-size: 10pt; font-family: "Courier
            New";"><o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">+if 
          ($UserObj->CurrentUserHasRight('SuperUser')) {</p>
      </div>
    </blockquote>
    it's perl code, so you're missing a "%" sign here.<br>
    <br>
    <blockquote
cite="mid:DB4PR03MB622431BA467C41BEA4AE0B9A4DB0@DB4PR03MB622.eurprd03.prod.outlook.com"
      type="cite">
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;">
        <p class="MsoNormal"><o:p></o:p></p>
        <o:p></o:p>
        <p class="MsoNormal">+}</p>
      </div>
    </blockquote>
    <br>
    here too.<br>
    <br>
    don't forget to clear the mason cache before testing again.<br>
    <br>
    <blockquote
cite="mid:DB4PR03MB622431BA467C41BEA4AE0B9A4DB0@DB4PR03MB622.eurprd03.prod.outlook.com"
      type="cite">
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;">
        <p class="MsoNormal"><o:p></o:p></p>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
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
<a class="moz-txt-link-freetext" href="mailto:elacour@easter-eggs.com">mailto:elacour@easter-eggs.com</a>  -   <a class="moz-txt-link-freetext" href="http://www.easter-eggs.com">http://www.easter-eggs.com</a>
</pre>
  </body>
</html>