Project

General

Profile

Bug #25784

allowed_taxonomies always returns empty list

Added by Shimon Shtein 5 months ago. Updated 5 months ago.

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

Description

This is due to allows_taxonomy_filtering implementation that always return false.
This method uses scoped search definitions to see if taxonomy filters exist on an object. This is a hash keyed with symbols, but allowed_taxonomies sends a string there.


Related issues

Related to Foreman - Bug #24232: Non admin user is unable to see the audits for katello and taxable resources created by admin using Any Location contextClosed

Associated revisions

Revision 854012e5 (diff)
Added by Shimon Shtein 5 months ago

Fixes #25784 - allows_taxonomy_filtering? works with strings

History

#1 Updated by The Foreman Bot 5 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6381 added

#2 Updated by Tomer Brisker 5 months ago

  • Target version set to 1.21.0

#3 Updated by Tomer Brisker 5 months ago

  • Related to Bug #24232: Non admin user is unable to see the audits for katello and taxable resources created by admin using Any Location context added

#4 Updated by Tomer Brisker 5 months ago

  • Fixed in Releases 1.21.0 added

#5 Updated by Shimon Shtein 5 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF