4 |
# |
# |
5 |
# you should know which permissions are you granting to your users! |
# you should know which permissions are you granting to your users! |
6 |
# |
# |
7 |
|
# 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 |
# give read-only and browse (to see directories) access to all users |
# give read-only and browse (to see directories) access to all users |
13 |
#/:*:RB |
#/:*:RB |
14 |
# |
# |
17 |
# |
# |
18 |
# anonymous users (without login) will be disabled if there is no |
# anonymous users (without login) will be disabled if there is no |
19 |
# trustee for browse on root (/) folder |
# trustee for browse on root (/) folder |
20 |
#/:anonymous:B |
#/:anonymous:BO |
21 |
# |
# |
22 |
# give anonymous users (without login) read only access to pub directory |
# give anonymous users (without login) read only access to pub directory |
23 |
# and write access to incomming |
# and write access to incoming |
24 |
#/pub:anonymous:RB |
#/pub:anonymous:RB |
25 |
#/incomming:anonymous:RWB |
#/incoming:anonymous:RWB |
26 |
|
# |
27 |
|
# you might also want to explicitly hide some directories at root of your |
28 |
|
# repository from anonymous users |
29 |
|
#/private:anonymous:DB |
30 |
|
# |
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 |
|
# |