Skip to content

Commit de22ee9

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 2570109 commit de22ee9

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
@@ -5047,6 +5047,12 @@ First up, we create the new Role and Permission structure in
50475047
p = db.security.addPermission(name='View', klass='issue',
50485048
check=own_issue, description='Can only view own issues')
50495049
db.security.addPermissionToRole('Provisional User', p)
5050+
# This allows the interface to get the names of the properties
5051+
# in the issue. Used for selecting sorting and grouping
5052+
# on the index page.
5053+
p = db.security.addPermission(name='Search', klass='issue')
5054+
db.security.addPermissionToRole ('Provisional User', p)
5055+
50505056

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

0 commit comments

Comments
 (0)