Actions
Bug #14169
openNon-admin users cannot see filters for roles
Status:
New
Priority:
Normal
Assignee:
-
Category:
Users, Roles and Permissions
Target version:
-
Description
How to reproduce:
- Create a user
- Create a role with following permissions: view, create, add, remove filters; view, edit roles; view, assign organizations; view, assign locations;
- Assign the new role to the new user
- login as a user
- Go to Administer -> roles
- Press 'Filters' button for any role except for the new one.
Expected: list of filters for that role
Actual: empty list
While investigating, I have found that the problem starts in app/services/authorizer.rb:25
The query produced by user.filters contains a filter on role_id which is not needed there.
Updated by Dominic Cleal about 8 years ago
- Category set to Users, Roles and Permissions
Actions