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>
|
# Usage: get_or_add_user_role <role> <user> <project>
|
||||||
function get_or_add_user_role {
|
function get_or_add_user_role {
|
||||||
# Gets user role id
|
# Gets user role id
|
||||||
local user_role_id=$(openstack user role list \
|
local user_role_id=$(openstack role list \
|
||||||
$2 \
|
--user $2 \
|
||||||
--project $3 \
|
--project $3 \
|
||||||
--column "ID" \
|
--column "ID" \
|
||||||
--column "Name" \
|
--column "Name" \
|
||||||
|
Loading…
Reference in New Issue
Block a user