fix: add extends role (#3430)
This commit is contained in:
parent
71ad83a267
commit
2c0a8afd5f
@ -233,7 +233,7 @@ def reset_workspace_role(role_id, workspace_id, role_dict):
|
|||||||
return f"{role_id}:/WORKSPACE/{workspace_id}"
|
return f"{role_id}:/WORKSPACE/{workspace_id}"
|
||||||
else:
|
else:
|
||||||
r = role_dict.get(role_id)
|
r = role_dict.get(role_id)
|
||||||
if r is not None:
|
if r is None:
|
||||||
return ''
|
return ''
|
||||||
role_type = role_dict.get(role_id).type
|
role_type = role_dict.get(role_id).type
|
||||||
if system_role == role_type:
|
if system_role == role_type:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user