Actions
Bug #12278
closedForeman fails when creating a role if default user has 2 or more filters with same permission
Status:
Closed
Priority:
Normal
Assignee:
Category:
Users, Roles and Permissions
Target version:
Description
After https://github.com/theforeman/foreman/commit/1f5d2516f7acd537cf996aeb3f52e0bf9c17c2d7 we build a role with permissions of default user. If default user has two or more filters with same permission (valid setup), the verification of found collection fails (https://github.com/theforeman/foreman/blob/develop/app/models/role.rb#L135). We have to make the list unique.
Updated by Marek Hulán about 9 years ago
- Related to Refactor #12147: move rails3 compatible changes from the rails4 branch to develop added
Updated by The Foreman Bot about 9 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2861 added
- Pull request deleted (
)
Updated by Marek Hulán about 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset ea04cccaf405f297206afba7e73dd3192a342563.
Actions