Project

General

Profile

Bug #14546

No ability to restrict *_external_variables with search anymore

Added by Sander Hoentjen over 4 years ago. Updated about 2 years ago.

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

Description

Since Foreman 1.10 it is not possible to restrict Resource="Lookup key" with search anymore. The page to edit says:
"Selected resource type does not support granular filtering, therefore you can't configure granularity"
In Foreman 1.9 this was working fine.


Related issues

Related to Foreman - Refactor #10832: Make LookupKey an STI for puppet and variable keysClosed2015-06-16
Related to Foreman - Bug #14535: /api/smart_class_parameters needs administrator permissionsClosed2016-04-07
Related to Foreman - Bug #15445: Filter not working for permission: edit_params from resource: parameter Resolved2016-06-16

Associated revisions

Revision 3fe2ea3d (diff)
Added by Ori Rabin about 4 years ago

Fixes #14546 - ability to restrict *_external_variables
Fixes #14535 - corrects permissions for smart class parameters

History

#1 Updated by Dominic Cleal over 4 years ago

  • Related to Refactor #10832: Make LookupKey an STI for puppet and variable keys added

#2 Updated by Dominic Cleal over 4 years ago

  • Related to Bug #14535: /api/smart_class_parameters needs administrator permissions added

#3 Updated by Dominic Cleal over 4 years ago

  • Subject changed from No abilitie to restrict *_external_variables with search anymore to No ability to restrict *_external_variables with search anymore
  • Category set to Users, Roles and Permissions

Looking in more detail, this might be more closely related to #14535 than I thought. It's likely that having the permission point to LookupKey rather than PuppetclassLookupKey means the granularity? check is failing, as LookupKey itself has no search function.

#4 Updated by The Foreman Bot about 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ori Rabin
  • Pull request https://github.com/theforeman/foreman/pull/3530 added

#5 Updated by Ori Rabin about 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#6 Updated by Dominic Cleal about 4 years ago

  • Legacy Backlogs Release (now unused) set to 136

#7 Updated by Marek Hulán about 4 years ago

  • Related to Bug #15445: Filter not working for permission: edit_params from resource: parameter added

#8 Updated by Ori Rabin about 4 years ago

  • Bugzilla link set to 1360191

Also available in: Atom PDF