refactor: workspace permission

v3.2
wxg0103 2025-07-01 17:37:30 +08:00
parent d5bfe98c23
commit f73721c73e
1 changed files with 0 additions and 1 deletions

View File

@ -182,7 +182,6 @@ class UserManage(APIView):
operation_id=_("Get default password"), # type: ignore
tags=[_("User Management")], # type: ignore
responses=UserPasswordResponse.get_response())
@has_permissions(PermissionConstants.USER_CREATE, RoleConstants.ADMIN)
def get(self, request: Request):
return result.success(data={'password': default_password})