Mercurial > p > roundup > code
diff doc/customizing.txt @ 1003:f89b8d32291b
Hack hack hack...
. Implemented security assertion idea punted to mailing list (pretty easy to
back out if someone comes up with a better idea) so editing "my details"
works again. Rationalised and cleaned up the actions in any case.
. fixed some more display issues (stuff appearing when it should and shouldn't)
. trying a nicer colouring scheme for the top level page
. handle no grouping being specified
. fixed journaltag so the logged-in user is journalled, not admin!
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Sun, 01 Sep 2002 12:18:41 +0000 |
| parents | 2abb6b2697b6 |
| children | 8b9feca82090 |
line wrap: on
line diff
--- a/doc/customizing.txt Sun Sep 01 04:32:30 2002 +0000 +++ b/doc/customizing.txt Sun Sep 01 12:18:41 2002 +0000 @@ -2,7 +2,7 @@ Customising Roundup =================== -:Version: $Revision: 1.15 $ +:Version: $Revision: 1.16 $ .. contents:: @@ -926,12 +926,13 @@ - Web Registration - Web Access +- Web Roles - Email Registration - Email Access These are hooked into the default Roles: -- Admin (Edit everything, View everything) +- Admin (Edit everything, View everything, Web Roles) - User (Web Access, Email Access) - Anonymous (Web Registration, Email Registration) @@ -957,6 +958,19 @@ You may use the ``roundup-admin`` "``security``" command to display the current Role and Permission configuration in your instance. +Adding a new Permission +~~~~~~~~~~~~~~~~~~~~~~~ + +When adding a new Permission, you will need to: + +1. add it to your instance's dbinit so it is created +2. enable it for the Roles that should have it (verify with + "``roundup-admin security``") +3. add it to the relevant HTML interface templates +4. add it to the appropriate xxxPermission methods on in your instance + interfaces module + + -----------------
