Index: openacs-4/packages/acs-core-docs/www/permissions-tediously-explained.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/permissions-tediously-explained.html,v diff -u -r1.19 -r1.20 --- openacs-4/packages/acs-core-docs/www/permissions-tediously-explained.html 4 Feb 2004 16:47:33 -0000 1.19 +++ openacs-4/packages/acs-core-docs/www/permissions-tediously-explained.html 12 Feb 2004 13:51:40 -0000 1.20 @@ -1,4 +1,4 @@ -OpenACS Permissions Tediously Explained

OpenACS Permissions Tediously Explained

+OpenACS Permissions Tediously Explained

OpenACS Permissions Tediously Explained

by Vadim Nasardinov. Modified and converted to Docbook XML by Roberto Mello

The code has been modified since this document was written so it is now out of date. See this forum thread.

Overview

The general permissions system has a relatively complex data model in OpenACS. @@ -100,7 +100,7 @@

Context Hierarchy

Suppose objects A, B, ..., and F form the following hierarchy. -

Table�8.1.�Context Hierarchy Example

A

+

Table�9.1.�Context Hierarchy Example

A

object_id=10

B

object_id=20 @@ -116,7 +116,7 @@ This can be represented in the acs_objects table by the following entries: -

Table�8.2.�acs_objects example data

object_idcontext_id
2010
3010
4020
5020
6030

+

Table�9.2.�acs_objects example data

object_idcontext_id
2010
3010
4020
5020
6030

The first entry tells us that object 20 is the descendant of object 10, and the third entry shows that object 40 is the descendant of object 20. By running a CONNECT BY query,