Total Knowledge Projects Jobs Clientele Contact

UU Database

Personal tools
From Total Knowledge
(Difference between revisions)
Jump to: navigation, search
(ACL implementation)
(ACL implementation)
ACL is implemented on per-table basis. For every table covered by ACL, there is a table with the same name appended with "_acl". The ACL tables have similar structure. They contain references to the user (person id) and to the object (object id), accompanied with the access field. An access field is an integer that contains a bit combination of the available access values:
ACL is implemented on per-table basis. For every table covered by ACL, there is a table with the same name appended with "_acl". The ACL tables have similar structure. They contain references to the user (person id) and to the object (object id), accompanied with the access field. An access field is an integer that contains a bit combination of the available access values:
<table border=1 bgcolor="#A0FFA0">
<table border=1 bgcolor="#A0FFA0">
-
<th>access name</th><th>access value</th><th>Description</th><th> Commentary </th>
+
<th>access name</th><th>access value</th><th>Description</th><th> Comments </th>
<tr><td> No access </td><td> 0 or NULL </td><td> User may not have any access to the object </td></tr>
<tr><td> No access </td><td> 0 or NULL </td><td> User may not have any access to the object </td></tr>
<tr><td> View </td><td> 1 </td><td>User may browse and view the content of the object</td></tr>
<tr><td> View </td><td> 1 </td><td>User may browse and view the content of the object</td></tr>
<tr><td> Delete </td><td> 4 </td> <td> User may delete the object </td> </tr>
<tr><td> Delete </td><td> 4 </td> <td> User may delete the object </td> </tr>
<tr><td> Grant Access </td><td> 8 </td> <td> User may grant or change access to the object to other user(s) </td> </tr>
<tr><td> Grant Access </td><td> 8 </td> <td> User may grant or change access to the object to other user(s) </td> </tr>
-
<tr><td> Study </td><td> 16 </td> <td> User (student) may submit his answer or solution of the problem </td> <td> Proprietary Server only </td>  </tr>
+
<tr><td> Study </td><td> 16 </td> <td> User (student) may submit his answer or solution of the problem </td> <td> Always set for Open Server </td>  </tr>
-
<tr><td> Add Version </td><td> 32 </td> <td> User may create his own version of the object </td> <td> Proprietary Server only </td>  </tr>
+
<tr><td> Add Version </td><td> 32 </td> <td> User may create his own version of the object </td> <td> Always set for Open Server </td>  </tr>
-
<tr><td> Add Translation </td><td> 64 </td> <td> User may create his own translated version of the object </td> <td> Proprietary Server only </td> </tr>
+
<tr><td> Add Translation </td><td> 64 </td> <td> User may create his own translated version of the object </td> <td> Always set for Open Server </td> </tr>
-
<tr><td> Reference </td> <td> 128 </td> <td> User may refer to this object in his objects </td> <td> Proprietary Server only </td>  </tr>
+
<tr><td> Reference </td> <td> 128 </td> <td> User may refer to this object in his objects </td> <td> Always set for Open Server </td>  </tr>
</table>
</table>

Revision as of 02:31, 30 September 2006