rbac: register get_search_roleid.dspy

This commit is contained in:
yumoqing 2026-07-13 11:30:53 +08:00
parent 850ede92ac
commit 1e745b79d0
2 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,6 @@ import signal
# 切换到 Sage 工作目录
os.chdir(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', 'py3', 'lib', 'python3.10', 'site-packages'))
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', 'pkgs'))
from appPublic.folderUtils import ProgramPath
from appPublic.jsonConfig import getConfig

View File

@ -797,6 +797,7 @@ paths="""/ any
/rbac/users/disable_user.dspy *.admin
/rbac/api/add_user.dspy *.admin
/rbac/api/update_user.dspy *.admin
/rbac/api/get_search_roleid.dspy logined
/rbac/add_adminuser.dspy owner.superuser
/rbac/reseller logined
/rbac/reseller/update_organization.dspy logined