ajout restreindre la modification des révisions a un utilisateur en particulier
This commit is contained in:
parent
cd104810ea
commit
84bac9c696
|
@ -129,6 +129,15 @@ Repository has not been enabled to accept revision propchanges;
|
||||||
ask the administrator to create a pre-revprop-change hook
|
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
|
## FAQ
|
||||||
|
|
||||||
Lorsque l'on obtient un message du type :
|
Lorsque l'on obtient un message du type :
|
||||||
|
|
Loading…
Reference in a new issue