Bug #25936
closedCompute Resource filter does not correctly allow Refresh Cache
Description
I am trying to set up new filters and found one I believe doesnt work. It appears according to:
https://github.com/theforeman/foreman/blob/c236a809e044804f801440174f27b9a5c5c561ca/app/registries/foreman/access_permissions.rb#L76
that the refresh cache is part of the view_compute_resources permission. When I divide the Compute Resources into two sections; one for unlimited access and one to control a specific compute resource, the option to Refresh Cache on the compute resources goes away for everyone except admins.
Am I setting this correctly, everything else works as expected:
https://i.imgur.com/3enDPqM.png
How do I get refresh cache to show for non admins, but still prevent everything else in my NON unlimited filter?
Updated by yifat makias almost 5 years ago
- Status changed from New to Assigned
- Assignee set to yifat makias
Updated by The Foreman Bot almost 5 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/7152 added
Updated by yifat makias almost 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 28a5fd8231d62e8a6c9d12c8d558c90be39846c7.