Index: openacs-4/packages/acs-core-docs/www/xml/developers-guide/permissions.xml =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/xml/developers-guide/permissions.xml,v diff -u -r1.7 -r1.8 --- openacs-4/packages/acs-core-docs/www/xml/developers-guide/permissions.xml 20 Aug 2003 16:20:18 -0000 1.7 +++ openacs-4/packages/acs-core-docs/www/xml/developers-guide/permissions.xml 11 Dec 2003 21:39:48 -0000 1.8 @@ -9,7 +9,7 @@ -By Pete Su +By Pete Su @@ -256,7 +256,7 @@ address_book table: -
+ @@ -294,7 +294,6 @@ -
The first row represents an entry in User 123's personal address book, @@ -326,7 +325,7 @@ permissions in a subtree of some context. - A good example of how to use this hierarchy is in the bboard + A good example of how to use this hierarchy is in the forums application. With only row-level permissions it is not obvious how to reasonably initialize the access control list when creating a message. At best, we have to explicitly grant various read and write @@ -376,28 +375,26 @@ At this point, you should either go and download the Notes example -code from the package repository, or check it out of the ArsDigita CVS +code from the package repository, or check it out of the OpenACS CVS repository and add it to your server. The package is called -"notes". To check it out from CVS, read the these instructions on how to use anonymous checkouts and then -checkout the module acs-packages/notes: +"notes". To check it out from CVS, read the these instructions +on how to use anonymous checkouts and then +checkout the module notes: - - -% export CVSROOT=:pserver:anonymous@cvs.arsdigita.com:/usr/local/cvsroot -% cvs login # the password is acsrules -% cvs checkout acs-packages/notes - +% export CVSROOT=:pserver:anonymous@openacs.org:/cvsroot +% cvs login # just hit enter when prompted for a password +% cvs co notes After you have downloaded the package, look at the index.tcl page in the www directory. You can also -look at the code in your browser. The code should look something like this: +look at the code in your browser. The code should look something like this: @@ -473,7 +470,7 @@ -Next, look at the index.adp. It is pretty complicated. +Next, look at the index.adp. It is pretty complicated. The main part of this page uses a multiple template tag. If you want to experiment, you can replace the main body of the multiple tag with this: