Skip to content

Commit ab53774

Browse files
author
Richard Jones
committed
add in note about perms
1 parent b1839df commit ab53774

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

doc/customizing.txt

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Customising Roundup
33
===================
44

5-
:Version: $Revision: 1.200 $
5+
:Version: $Revision: 1.201 $
66

77
.. This document borrows from the ZopeBook section on ZPT. The original is at:
88
http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx
@@ -3292,6 +3292,16 @@ be able to give a summary of the total time spent on a particular issue.
32923292
Note that we automatically get the date of the time log entry
32933293
creation through the standard property "creation".
32943294

3295+
You will need to grant "Creation" permission to the users who are
3296+
allowed to add timelog entries. You may do this with:
3297+
3298+
db.security.addPermissionToRole('User', 'Create', 'timelog')
3299+
db.security.addPermissionToRole('User', 'View', 'timelog')
3300+
3301+
If users are also able to *edit* timelog entries, then also include:
3302+
3303+
db.security.addPermissionToRole('User', 'Edit', 'timelog')
3304+
32953305
2. Link to the new class from your issue class (again, in
32963306
``schema.py``)::
32973307

0 commit comments

Comments
 (0)