Merge "Use os role list
instead of os user role list
"
This commit is contained in:
commit
46d4769f8c
@ -919,8 +919,8 @@ function get_or_create_role {
|
||||
# Usage: get_or_add_user_role <role> <user> <project>
|
||||
function get_or_add_user_role {
|
||||
# Gets user role id
|
||||
local user_role_id=$(openstack user role list \
|
||||
$2 \
|
||||
local user_role_id=$(openstack role list \
|
||||
--user $2 \
|
||||
--project $3 \
|
||||
--column "ID" \
|
||||
--column "Name" \
|
||||
|
Loading…
Reference in New Issue
Block a user