comparison 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
comparison
equal deleted inserted replaced
1002:1798d2fa9fec 1003:f89b8d32291b
1 =================== 1 ===================
2 Customising Roundup 2 Customising Roundup
3 =================== 3 ===================
4 4
5 :Version: $Revision: 1.15 $ 5 :Version: $Revision: 1.16 $
6 6
7 .. contents:: 7 .. contents::
8 8
9 9
10 What You Can Do 10 What You Can Do
924 924
925 The default interfaces define: 925 The default interfaces define:
926 926
927 - Web Registration 927 - Web Registration
928 - Web Access 928 - Web Access
929 - Web Roles
929 - Email Registration 930 - Email Registration
930 - Email Access 931 - Email Access
931 932
932 These are hooked into the default Roles: 933 These are hooked into the default Roles:
933 934
934 - Admin (Edit everything, View everything) 935 - Admin (Edit everything, View everything, Web Roles)
935 - User (Web Access, Email Access) 936 - User (Web Access, Email Access)
936 - Anonymous (Web Registration, Email Registration) 937 - Anonymous (Web Registration, Email Registration)
937 938
938 And finally, the "admin" user gets the "Admin" Role, and the "anonymous" user 939 And finally, the "admin" user gets the "Admin" Role, and the "anonymous" user
939 gets the "Anonymous" assigned when the database is initialised on installation. 940 gets the "Anonymous" assigned when the database is initialised on installation.
955 they register through email. 956 they register through email.
956 957
957 You may use the ``roundup-admin`` "``security``" command to display the 958 You may use the ``roundup-admin`` "``security``" command to display the
958 current Role and Permission configuration in your instance. 959 current Role and Permission configuration in your instance.
959 960
961 Adding a new Permission
962 ~~~~~~~~~~~~~~~~~~~~~~~
963
964 When adding a new Permission, you will need to:
965
966 1. add it to your instance's dbinit so it is created
967 2. enable it for the Roles that should have it (verify with
968 "``roundup-admin security``")
969 3. add it to the relevant HTML interface templates
970 4. add it to the appropriate xxxPermission methods on in your instance
971 interfaces module
972
973
960 974
961 ----------------- 975 -----------------
962 976
963 Back to `Table of Contents`_ 977 Back to `Table of Contents`_
964 978

Roundup Issue Tracker: http://roundup-tracker.org/