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

This commit is contained in:
emorino 2017-10-11 14:40:53 +02:00
parent cd104810ea
commit 84bac9c696

View file

@ -129,6 +129,15 @@ Repository has not been enabled to accept revision propchanges;
ask the administrator to create a pre-revprop-change hook
~~~
Si lon 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 :