Project

General

Profile

Actions

Bug #11187

closed

Taxonomy selectors are empty even for users with assign permissions

Added by Marek Hulán almost 9 years ago. Updated almost 6 years ago.

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

Description

A patch that added authorization to multiple selects broke the taxonomies selects. It calls authorized without any arguments which means it check for any permission for a default resource (which is self). This can't work for Taxonomy (and other STI models) because permissions are mapped to children resources. Also I think that there should be view_$resource permission checked instead of any permission (not 100% sure about this though).


Related issues 2 (0 open2 closed)

Related to Foreman - Bug #7337: organizations UI does not filter resources to associate based upon RBACClosedTomer Brisker09/03/2014Actions
Related to Foreman - Bug #11408: Plugin permissions are broken when using multiple selectsDuplicate08/18/2015Actions
Actions

Also available in: Atom PDF