This repository has been archived by the owner on Sep 16, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
grant role to user: handle admin roles with space
Fix 'Unable to add user' when granted role contains a space: $ awx-cli send <<EOF [ { "asset_type": "organization", "name": "MyOrg", "asset_relation": { "roles": [ { "name": "Inventory Admin", "user": ["misc"], "team": [] } ] } } ] EOF ORGANIZATION [MyOrg] *** Asset up to date Unable to add user misc to Inventory Admin role: The requested object could not be found.
- Loading branch information