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

Updated by Dominic Cleal almost 8 years ago

  • Related to Bug #17463: Importing classes for a new org fails when the environment already exist in a different org added
Actions #2

Updated by Daniel Lobato Garcia over 7 years ago

Fixed in https://github.com/theforeman/foreman/pull/4510 - will close this one when that one gets merged

Actions #3

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Daniel Lobato Garcia
  • Pull request https://github.com/theforeman/foreman/pull/4510 added
Actions #4

Updated by Anonymous over 7 years ago

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

Also available in: Atom PDF