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
Actions