Développement module: Difference between revisions

m
Line 83: Line 83:


<pre>
<pre>
$r++;
$this->rights[$r][0] = 9999;
$this->rights[$r][0] = 9999;
$this->rights[$r][1] = 'Libelle par defaut de ma permission';
$this->rights[$r][1] = 'Libelle par defaut de ma permission';
Line 89: Line 88:
$this->rights[$r][4] = 'action';
$this->rights[$r][4] = 'action';
$this->rights[$r][5] = 'sousaction';
$this->rights[$r][5] = 'sousaction';
$r++;
</pre>
</pre>


Line 100: Line 100:
if ($user->rights->action->sousaction)
if ($user->rights->action->sousaction)
</pre>
</pre>


== Définir vos propres box (optionnel) ==
== Définir vos propres box (optionnel) ==