Project

General

Profile

Actions

Bug #25936

closed

Compute Resource filter does not correctly allow Refresh Cache

Added by Jeff Sparrow over 5 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Users, Roles and Permissions
Target version:
-
Difficulty:
easy
Triaged:
No
Fixed in Releases:
Found in Releases:

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?

Actions #1

Updated by yifat makias over 4 years ago

  • Status changed from New to Assigned
  • Assignee set to yifat makias
Actions #2

Updated by yifat makias over 4 years ago

  • Bugzilla link set to 1767497
Actions #3

Updated by The Foreman Bot over 4 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/7152 added
Actions #4

Updated by The Foreman Bot over 4 years ago

  • Fixed in Releases 2.0.0 added
Actions #5

Updated by yifat makias over 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF