1 |
dpavlin |
1.1 |
# |
2 |
|
|
# all entries in this trustee file are commented, and for good reason: you |
3 |
|
|
# shouldn't just un-comment them without reading doc/trustee.html |
4 |
|
|
# |
5 |
|
|
# you should know which permissions are you granting to your users! |
6 |
|
|
# |
7 |
dpavlin |
1.3 |
# create root group (with users dpavlin and joe in it) and give all permission |
8 |
|
|
# to that group |
9 |
|
|
#+root:dpavlin,joe |
10 |
|
|
#/:+root:RWB |
11 |
|
|
# |
12 |
dpavlin |
1.1 |
# give read-only and browse (to see directories) access to all users |
13 |
|
|
#/:*:RB |
14 |
|
|
# |
15 |
|
|
# send e-mail notify to all users about all changes |
16 |
|
|
#/:*:N |
17 |
|
|
# |
18 |
dpavlin |
1.2 |
# anonymous users (without login) will be disabled if there is no |
19 |
|
|
# trustee for browse on root (/) folder |
20 |
dpavlin |
1.4 |
#/:anonymous:BO |
21 |
dpavlin |
1.2 |
# |
22 |
dpavlin |
1.1 |
# give anonymous users (without login) read only access to pub directory |
23 |
dpavlin |
1.5 |
# and write access to incoming |
24 |
dpavlin |
1.1 |
#/pub:anonymous:RB |
25 |
dpavlin |
1.5 |
#/incoming:anonymous:RWB |
26 |
dpavlin |
1.4 |
# |
27 |
|
|
# you might also want to explicitly hide some directories at root of your |
28 |
|
|
# repository from anonymous users |
29 |
|
|
#/private:anonymous:DB |
30 |
dpavlin |
1.6 |
# |
31 |
|
|
# following lines will "emulate" old docman v1.x behaviour to allow all |
32 |
|
|
# operations to all users which are logged in |
33 |
|
|
#/:*:RWB |
34 |
|
|
# |
35 |
|
|
# if you want to allow just one user to edit one file, but all others |
36 |
|
|
# to read it, while all users have all permissions on all other files |
37 |
|
|
# (huh!) you can do something like: |
38 |
|
|
#/:*:RWB |
39 |
|
|
#/one_editor.txt:*:DW |
40 |
|
|
#/one_editor.txt:editor:CRWB |
41 |
|
|
# |