Project

General

Profile

Actions

Bug #11408

closed

Plugin permissions are broken when using multiple selects

Added by Stephen Benjamin almost 9 years ago. Updated over 8 years ago.

Status:
Duplicate
Priority:
High
Assignee:
-
Category:
Plugin integration
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

In app/helpers/layout_helper.rb, this:

 permission = "view_#{klass.to_s.underscore.pluralize}" 

causes problems with foreman_salt:

  ERF42-5434 [Foreman::Exception]: unknown permission view_foreman_salt/salt_environments

Is it something I'm doing in particular in Salt that's causing this? It worked fine before this change.


Related issues 2 (0 open2 closed)

Related to Foreman - Bug #11187: Taxonomy selectors are empty even for users with assign permissionsClosedMarek Hulán07/22/2015Actions
Is duplicate of Foreman - Bug #12118: AssociationAuthorizer should ask model for alternative permission namesClosedStephen Benjamin10/08/2015Actions
Actions

Also available in: Atom PDF