fix: add extends role (#3430)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run

This commit is contained in:
shaohuzhang1 2025-06-30 15:05:53 +08:00 committed by GitHub
parent 71ad83a267
commit 2c0a8afd5f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: