Project

General

Profile

Actions

Bug #12432

closed

User edit roles tab, no roles found for admin user

Added by Alon Goldboim about 9 years ago. Updated over 6 years ago.

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

Description

When trying to append a role to a user(having roles in the db), the role selection indicate "None Found".


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #11924: Substitute .scoped by .where(nil) to force return relationClosedDaniel Lobato Garcia09/22/2015Actions
Actions #1

Updated by Dominic Cleal about 9 years ago

  • Related to Bug #11924: Substitute .scoped by .where(nil) to force return relation added
Actions #2

Updated by Dominic Cleal about 9 years ago

  • Subject changed from User edit roles tab, no roles found. to User edit roles tab, no roles found for admin user
  • Category set to Users, Roles and Permissions
  • Translation missing: en.field_release set to 71

Role.for_current_user should have had where('0=0') or similar to replace {} rather than 0!=0. Introduced in #11924, appears to be the only instance of it (but please double check).

Actions #3

Updated by The Foreman Bot about 9 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Alon Goldboim
  • Pull request https://github.com/theforeman/foreman/pull/2901 added
Actions #4

Updated by Alon Goldboim about 9 years ago

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

Also available in: Atom PDF