comparison doc/customizing.txt @ 3653:cfa7fa2c5e0f

arg rest
author Richard Jones <richard@users.sourceforge.net>
date Thu, 10 Aug 2006 23:25:29 +0000
parents 3a19d31be628
children f7db2771e87d
comparison
equal deleted inserted replaced
3652:3a19d31be628 3653:cfa7fa2c5e0f
1 =================== 1 ===================
2 Customising Roundup 2 Customising Roundup
3 =================== 3 ===================
4 4
5 :Version: $Revision: 1.201 $ 5 :Version: $Revision: 1.202 $
6 6
7 .. This document borrows from the ZopeBook section on ZPT. The original is at: 7 .. This document borrows from the ZopeBook section on ZPT. The original is at:
8 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx 8 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx
9 9
10 .. contents:: 10 .. contents::
3291 3291
3292 Note that we automatically get the date of the time log entry 3292 Note that we automatically get the date of the time log entry
3293 creation through the standard property "creation". 3293 creation through the standard property "creation".
3294 3294
3295 You will need to grant "Creation" permission to the users who are 3295 You will need to grant "Creation" permission to the users who are
3296 allowed to add timelog entries. You may do this with: 3296 allowed to add timelog entries. You may do this with::
3297 3297
3298 db.security.addPermissionToRole('User', 'Create', 'timelog') 3298 db.security.addPermissionToRole('User', 'Create', 'timelog')
3299 db.security.addPermissionToRole('User', 'View', 'timelog') 3299 db.security.addPermissionToRole('User', 'View', 'timelog')
3300 3300
3301 If users are also able to *edit* timelog entries, then also include: 3301 If users are also able to *edit* timelog entries, then also include::
3302 3302
3303 db.security.addPermissionToRole('User', 'Edit', 'timelog') 3303 db.security.addPermissionToRole('User', 'Edit', 'timelog')
3304 3304
3305 2. Link to the new class from your issue class (again, in 3305 2. Link to the new class from your issue class (again, in
3306 ``schema.py``):: 3306 ``schema.py``)::

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