refactor: workspace permission
parent
d5bfe98c23
commit
f73721c73e
|
|
@ -182,7 +182,6 @@ class UserManage(APIView):
|
||||||
operation_id=_("Get default password"), # type: ignore
|
operation_id=_("Get default password"), # type: ignore
|
||||||
tags=[_("User Management")], # type: ignore
|
tags=[_("User Management")], # type: ignore
|
||||||
responses=UserPasswordResponse.get_response())
|
responses=UserPasswordResponse.get_response())
|
||||||
@has_permissions(PermissionConstants.USER_CREATE, RoleConstants.ADMIN)
|
|
||||||
def get(self, request: Request):
|
def get(self, request: Request):
|
||||||
return result.success(data={'password': default_password})
|
return result.success(data={'password': default_password})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue