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>access name</th><th>access value</th><th>Description</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>

Revision as of 01:45, 30 September 2006