Actions
Bug #20117
closedSwitching filter to overriding one erases assigned taxonomies
Status:
Closed
Priority:
Normal
Assignee:
Category:
Users and roles
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Description
Taxonomies are supported only for overriding filters (normally they're inherited from roles). When the command "filter update" switches the override flag from true to false, taxonomies should be erased. This functionality is currently broken and it resets taxonomies also when the override flag is turned to true.
# create a filter > hammer --output csv filter create --override no --role role74 --permissions view_users,create_users,edit_users,destroy_users Message,Id Permission filter for [User] created,392 > hammer filter info --id 392 Id: 392 Resource type: User Search: none Unlimited?: yes Override?: no Role: role74 Permissions: view_users, create_users, edit_users, destroy_users Created at: 2017/06/27 08:52:18 Updated at: 2017/06/27 08:52:18 # switch it to overriding and assign some taxonomies at once > hammer filter update --id 392 --override yes --organizations organization74 --locations location74 Permission filter for [User] updated # taxonomies were not assigned > hammer filter info --id 392 Id: 392 Resource type: User Search: none Unlimited?: yes Override?: yes Role: role74 Permissions: view_users, create_users, edit_users, destroy_users Created at: 2017/06/27 08:52:18 Updated at: 2017/06/27 08:52:22
Updated by Tomáš Strachota over 7 years ago
- Related to Bug #17730: filter create should print warning when org/loc is used and override is false added
Updated by The Foreman Bot over 7 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/hammer-cli-foreman/pull/313 added
Updated by Marek Hulán over 7 years ago
- Target version changed from 1.14.0 to 1.14.3
Updated by Marek Hulán over 7 years ago
- Target version changed from 1.14.3 to 1.17.0-RC2
Updated by Anonymous over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-foreman|e80427a0e503b461d0000b096f30c588e61aacce.
Updated by Tomáš Strachota over 7 years ago
- Translation missing: en.field_release set to 243
Updated by Marek Hulán about 7 years ago
- Related to Bug #20817: Taxonomies of role filter are not updating through Hammer CLI added
Actions