Bug #31872
closedNon admin user with viewer role can attempt to perform action on the task
Description
Description of problem:
Non-admin user with 'Viewer' role can see tasks and select All tasks. Individual task checkbox is greyed out but Select All is available. Non Admin user can check all task and perform Action, Cancel Selected, Resume Selected, Force Cancel selected
Version-Release number of selected component (if applicable):
6.9
How reproducible:
Always
Steps to Reproduce:
1. Create a non-admin user with 'viewer' role.
2. Login with above non admin role.
3. GoTo Monitor -> Tasks -> Select All tasks -> Select Action -> Resume selected
Actual results:
It allow to select all tasks
Expected results:
It should not allow to select all
Additional info:
Updated by Adam Ruzicka almost 4 years ago
- Blocked by Bug #31873: Expose edit permission in api index layout for bulk actions on resource added
Updated by The Foreman Bot almost 4 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman-tasks/pull/607 added
Updated by The Foreman Bot almost 4 years ago
- Fixed in Releases foreman-tasks-3.1.0 added
Updated by Adam Ruzicka almost 4 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 0e566b0cce1715ec28783e5f2241e8b3ace58fc1.
Updated by Adam Ruzicka almost 4 years ago
- Target version set to foreman-tasks-3.0.5
- Fixed in Releases deleted (
foreman-tasks-3.1.0)
Updated by Adam Ruzicka almost 4 years ago
- Status changed from Closed to New
- Assignee deleted (
Adam Ruzicka) - Target version deleted (
foreman-tasks-3.0.5)
We need to rethink how we tackle this, reverting the current solution for now.
Updated by The Foreman Bot over 3 years ago
- Status changed from New to Ready For Testing
- Assignee set to Adam Ruzicka
- Pull request https://github.com/theforeman/foreman-tasks/pull/646 added
Updated by Adam Ruzicka over 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 35e9155200c25e4ee296430377ebc1caf70bf16a.
Updated by Adam Ruzicka over 3 years ago
- Fixed in Releases foreman-tasks-4.1.4 added
Updated by Adam Ruzicka over 3 years ago
- Fixed in Releases foreman-tasks-5.1.0 added
- Fixed in Releases deleted (
foreman-tasks-4.1.4)