Project

General

Profile

Bug #14184

Non-admin user can't create filters for not taxable resources

Added by Marek Hulán over 4 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Organizations and Locations
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

When I want to create an architecture filter as a user, #ensure_taxonomies_not_escalated validation on filter prevents this. The reason is that filter includes Taxable even though taxonomies relations are for related resource in fact. It results in filter not being saved without any clear error, in log user can find following:

Failed to save: Organization ids Invalid organizations selection, you must select at least one of yours, Location ids Invalid locations selection, you must select at least one of yours

Related issues

Related to Foreman - Bug #5929: Taxonomy selectors do not obey assign_$taxonomy permissionsClosed2014-05-26
Related to Foreman - Tracker #10022: Taxonomies related issuesNew2015-04-05

Associated revisions

Revision 473ba1c6 (diff)
Added by Marek Hulán over 4 years ago

Fixes #14184 - allow filter creation for users with taxonomies

Revision b08c68d2 (diff)
Added by Marek Hulán about 4 years ago

Fixes #14184 - allow filter creation for users with taxonomies

(cherry picked from commit 473ba1c6562c039564331bf5cf66804d27dfd736)

History

#1 Updated by Marek Hulán over 4 years ago

  • Related to Bug #5929: Taxonomy selectors do not obey assign_$taxonomy permissions added

#2 Updated by Marek Hulán over 4 years ago

#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/3319 added

#4 Updated by Marek Hulán over 4 years ago

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

#5 Updated by Dominic Cleal over 4 years ago

  • Legacy Backlogs Release (now unused) set to 141

Also available in: Atom PDF