Mercurial > p > roundup > code
diff doc/customizing.txt @ 5537:d698d3d843a9 maint-1.6
'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 | 86b297a3d261 |
| children | 2692a1c48484 |
line wrap: on
line diff
--- a/doc/customizing.txt Fri Aug 03 19:29:00 2018 -0400 +++ b/doc/customizing.txt Thu Sep 06 17:04:49 2018 -0400 @@ -5050,6 +5050,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':
