Hints:
IP can be empty, meaning any IP will match.
You can use both IPv4 and IPv6. Some examples: 4.4.4.4, 1.2.3.0/24,
2001:6:3456::/64.
Priorities are used to order the rights. They are evaluated top to bottom.
and must be greater than 10 and lower than 30000.
To add a deny rule, just do not select any right; if matched, the evaluation
of the following rules will stop.
Examples:
User |
Path |
Right |
Description |
* | .*\.exe | no rights selected |
No user is allowed to push .exe files |
coworker | ^doc/.* | Push |
Only user coworker is allowed to push commits that
alter some files/dirs in root doc folder |
* | ^users/@USER@/ | Push |
Any user can push to his folder inside '/users/' (@USER@ will be
replaced with the username of the connecting user at the 'push' time). |
* | empty | no rights selected |
This is a drop all rule. Can be used, for example, to block
all the rules that might follow. |