22
0
Bifurcation 0

ajout restreindre la modification des révisions a un utilisateur en particulier

Cette révision appartient à :
emorino 2017-10-11 14:40:53 +02:00
Parent cd104810ea
révision 84bac9c696

Voir le fichier

@ -129,6 +129,15 @@ Repository has not been enabled to accept revision propchanges;
ask the administrator to create a pre-revprop-change hook
~~~
Si l’on veut restreindre la modification des révisions a un utilisateur en particulier, il faut ajouter ceci dans le hook `pre-revprop-change` :
~~~
if [ ! "$USER" = "user" ]; then
echo "Changing revision properties is only allowed to mmarmolle." >&2
exit 1
fi
~~~
## FAQ
Lorsque l'on obtient un message du type :