Actions
Feature #18321
closedProvide migration to fix cloned roles
Status:
Closed
Priority:
Normal
Assignee:
Category:
Users, Roles and Permissions
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Description
When role was cloned, it was created with incorrect builtin value causing issues. This was fixed in #16828 but no migration was provided to fix already cloned records:
Role.where(:builtin => nil).update_all(:builtin => 0)
Actions