5 |
<zavadsky@braysystems.com> |
<zavadsky@braysystems.com> |
6 |
</p> |
</p> |
7 |
|
|
8 |
<p>Trustiees are used to controll access right, and special fetures |
<p>Trustees are used to control access right, and special features |
9 |
(like notify on change) |
(like <a href="notify.html">notify on change</a>) |
10 |
</p> |
</p> |
11 |
|
|
12 |
<h2>Format of trustee file</h2> |
<h2>Format of trustee file</h2> |
25 |
Valid modifiers: |
Valid modifiers: |
26 |
<ul> |
<ul> |
27 |
<li><tt>!</tt> trustee applies to all except user or group |
<li><tt>!</tt> trustee applies to all except user or group |
28 |
<li><tt>C</tt> clear the persmission (default is to set) |
<li><tt>C</tt> clear the permission (default is to set) |
29 |
<li><tt>D</tt> deny access (default is grant) |
<li><tt>D</tt> deny access (default is grant) |
30 |
</ul> |
</ul> |
31 |
|
|
34 |
<li><tt>R</tt> read (file) |
<li><tt>R</tt> read (file) |
35 |
<li><tt>W</tt> write (file) |
<li><tt>W</tt> write (file) |
36 |
<li><tt>B</tt> browse (directory) |
<li><tt>B</tt> browse (directory) |
37 |
<li><tt>N</tt> notify (e-mail change) |
<li><tt>N</tt> <a href="notify.html">notify</a> (e-mail change) |
38 |
</ul> |
</ul> |
39 |
|
|
40 |
<h2>Examples</h2> |
<h2>Examples</h2> |
59 |
/secret.txt:*:DRWB:joe:R |
/secret.txt:*:DRWB:joe:R |
60 |
</pre> |
</pre> |
61 |
|
|
62 |
That is wrong. <b>deny</b> rules will take precedance over allow read |
That is wrong. <b>deny</b> rules will take precedence over allow read |
63 |
to joe. So, you should write: |
to joe. So, you should write: |
64 |
|
|
65 |
<pre> |
<pre> |
68 |
|
|
69 |
Which will work. |
Which will work. |
70 |
|
|
71 |
<big>FIX</big> write more examples, beter descriptions... |
<big>FIX</big> write more examples, better descriptions... |
72 |
|
|
73 |
<h2>Default security</h2> |
<h2>Default security</h2> |
74 |
|
|
81 |
<h2>docman without trustee configuration</h2> |
<h2>docman without trustee configuration</h2> |
82 |
|
|
83 |
<p>If you <b>don't have</b> <tt>realm/http_virtual_host.trustee</tt> you |
<p>If you <b>don't have</b> <tt>realm/http_virtual_host.trustee</tt> you |
84 |
will fall-back to default docman v1.x behaviour: whole group will have |
will fall-back to default docman v1.x behavior: whole group will have |
85 |
all right on all files except <i>anonymous</i> users (which won't be able |
all right on all files except <i>anonymous</i> users (which won't be able |
86 |
to login anyway). |
to login anyway). |
87 |
</p> |
</p> |