Project

General

Profile

Actions

Bug #5540

closed

User filters not migrated when user only has builtin roles

Added by Dominic Cleal almost 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
DB migrations
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

The permissions migration added in #812 doesn't migrate user filters if they only have builtin roles associated.

0. Use pre-#812 Foreman
1. Create a user with no roles (they'll get the implicit Anonymous builtin role)
2. Edit the user and add a filter on a host group
3. Migrate to post-#812
4. Check the user, they'll have no roles but should've got a personalised one


Related issues 1 (1 open0 closed)

Blocks Foreman - Tracker #4552: New permissions/authorization system issuesNew

Actions
Actions #1

Updated by Dominic Cleal almost 10 years ago

  • Blocks Tracker #4552: New permissions/authorization system issues added
Actions #2

Updated by Dominic Cleal almost 10 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Dominic Cleal
  • Target version set to 1.8.3
  • translation missing: en.field_release set to 4
Actions #3

Updated by Dominic Cleal almost 10 years ago

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

Also available in: Atom PDF