Actions
Bug #11303
closedFilter management with hamemr seems to be missing means of associating resource type
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Description
I'm trying to manage creation of roles and their associated permissions. Haven't figured out how. This was as close as I could determine and it doesnt work.
hammer> filter create --role "Content Viewer" --permissions "view_gpg_keys,view_content_views" Could not create the permission filter: Permissions Permissions must be of same resource type hammer> filter update --organization-ids 1 --id 76 --role "Content Viewer" --permissions view_products Could not update the permission filter: Permissions Permissions must be of same resource type Organization ids You can't assign organizations to this resource hammer> filter update --organization-ids 1 --id 76 --role "Content Viewer" --permissions view_products -^t^t --help --location-ids --organization-ids --permission-ids --role --search --id --locations --organizations --permissions --role-id -h
Updated by The Foreman Bot over 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2595 added
- Pull request deleted (
)
Updated by Eric Helms over 9 years ago
After some investigation this appears to be an error with the expectation of hammer when providing a permission name to go and search the API for a permission with the name supplied by the user. However, permissions aren't currently outfitted for scoped search usage and thus all permissions are returned and a filter is attempted to be created with them and thus the error mentioned is generated.
Updated by Eric Helms over 9 years ago
- Project changed from Katello to Foreman
- Category deleted (
Hammer)
Updated by Marek Hulán over 9 years ago
- Related to Bug #11441: Hammer does not check whether it get correct number of resources when translating name to id parameters added
Updated by Marek Hulán over 9 years ago
- Category set to API
- Assignee set to Eric Helms
- Bugzilla link set to 1230884
Updated by Dominic Cleal about 9 years ago
- Translation missing: en.field_release set to 63
Updated by Eric Helms about 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 2dec184c083bb0e6a2404de30083f2d8aa491a96.
Updated by Tomer Brisker almost 5 years ago
- Related to Refactor #28591: remove deprecated permissions api parameters added
Actions