Project

General

Profile

Actions

Bug #18996

closed

User#visible_environments limits to misspelt "view_environemnts" permissions

Added by Dominic Cleal almost 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Users, Roles and Permissions
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The User#visible_environments method added in #17463 has a spelling mistakes in the view_environments permission name: https://github.com/theforeman/foreman/commit/273f928#diff-4676c008b11a5480d73d4a6de01e45b9R388

This will probably cause no environments to be visible to non-admin users.

Though untested, it may have the same effect as #18995 and cause the importer to try to remove invisible environments rather than ignore them.


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #17463: Importing classes for a new org fails when the environment already exist in a different orgClosedOndřej Pražák11/23/2016Actions
Actions

Also available in: Atom PDF