Skip to content

Commit 85efac0

Browse files
committed
'Provisional User' example needed to have search permissions added
otherwise the sort and group dropdowns were not populated with the names of the properties of the issue. See the thread titled "access control rule for Sort and Group function" by austin.wangxu ending with: https://sourceforge.net/p/roundup/mailman/message/36408780/
1 parent 2ebe78e commit 85efac0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/customizing.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5050,6 +5050,12 @@ First up, we create the new Role and Permission structure in
50505050
p = db.security.addPermission(name='View', klass='issue',
50515051
check=own_issue, description='Can only view own issues')
50525052
db.security.addPermissionToRole('Provisional User', p)
5053+
# This allows the interface to get the names of the properties
5054+
# in the issue. Used for selecting sorting and grouping
5055+
# on the index page.
5056+
p = db.security.addPermission(name='Search', klass='issue')
5057+
db.security.addPermissionToRole ('Provisional User', p)
5058+
50535059

50545060
# Assign the Permissions for issue-related classes
50555061
for cl in 'file', 'msg', 'query', 'keyword':

0 commit comments

Comments
 (0)