/[docman2]/doc/trustee.html
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /doc/trustee.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by dpavlin, Sun Jul 21 13:25:15 2002 UTC revision 1.2 by dpavlin, Thu Jul 25 21:11:51 2002 UTC
# Line 5  concept of trustees for Linux kernel by Line 5  concept of trustees for Linux kernel by
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>
# Line 25  first character in line. Line 25  first character in line.
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    
# Line 34  Valid permissions: Line 34  Valid permissions:
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>
# Line 59  read-only access) you could write: Line 59  read-only access) you could write:
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>
# Line 68  to joe. So, you should write: Line 68  to joe. So, you should write:
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    
# Line 81  users) Line 81  users)
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>

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.26