Mercurial > p > roundup > code
diff doc/design.txt @ 2983:9614a101b68f
Stuff from the train ride this morning:
- Extend the property concept in Permissions to allow a list of properties
- Fix the cgi templating code to check the correct permission when
rendering edit fields
- A swag of changes (just the start) fixing up the customisation doc for
the new tracker layout and permissions setup
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 30 Nov 2004 08:32:57 +0000 |
| parents | 2e3f3204afc9 |
| children | 460eb0209a9e |
line wrap: on
line diff
--- a/doc/design.txt Mon Nov 29 14:34:10 2004 +0000 +++ b/doc/design.txt Tue Nov 30 08:32:57 2004 +0000 @@ -1401,11 +1401,20 @@ - name - description - klass (optional) + - properties (optional) + - check function (optional) The klass may be unset, indicating that this permission is not locked to a particular hyperdb class. There may be multiple Permissions for the same name for different classes. + + If property names are set, permission is restricted to those + properties only. + + If check function is set, permission is granted only when + the function returns value interpreted as boolean true. + The function is called with arguments db, userid, itemid. ''' class Role:
