changeset 5529:0dea3d6944c5

'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/
author John Rouillard <rouilj@ieee.org>
date Thu, 06 Sep 2018 17:04:49 -0400
parents bb364082a14a
children 2692a1c48484
files doc/customizing.txt
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/customizing.txt	Mon Sep 03 20:29:11 2018 +0100
+++ b/doc/customizing.txt	Thu Sep 06 17:04:49 2018 -0400
@@ -5047,6 +5047,12 @@
     p = db.security.addPermission(name='View', klass='issue',
         check=own_issue, description='Can only view own issues')
     db.security.addPermissionToRole('Provisional User', p)
+    # This allows the interface to get the names of the properties
+    # in the issue. Used for selecting sorting and grouping
+    # on the index page.
+    p = db.security.addPermission(name='Search', klass='issue')
+    db.security.addPermissionToRole ('Provisional User', p)
+
 
     # Assign the Permissions for issue-related classes
     for cl in 'file', 'msg', 'query', 'keyword':

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