mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-28 05:42:51 +00:00
fix: add extends role (#3430)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
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}"
|
||||
else:
|
||||
r = role_dict.get(role_id)
|
||||
if r is not None:
|
||||
if r is None:
|
||||
return ''
|
||||
role_type = role_dict.get(role_id).type
|
||||
if system_role == role_type:
|
||||
|
|
|
|||
Loading…
Reference in New Issue