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 #1

Updated by Marek Hulán almost 9 years ago

  • Related to Bug #7337: organizations UI does not filter resources to associate based upon RBAC added
Actions #2

Updated by The Foreman Bot almost 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/2564 added
  • Pull request deleted ()
Actions #3

Updated by Marek Hulán almost 9 years ago

  • Bugzilla link set to 1245624
Actions #4

Updated by Dominic Cleal over 8 years ago

  • Assignee set to Marek Hulán
Actions #5

Updated by Marek Hulán over 8 years ago

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

Updated by Stephen Benjamin over 8 years ago

  • Related to Bug #11408: Plugin permissions are broken when using multiple selects added
Actions

Also available in: Atom PDF