mirror of https://github.com/jumpserver/jumpserver
[Update] 校验用户对RemoteApp权限API添加权限控制 (#2715)
parent
3eaf4cd142
commit
b18ca8c94f
|
@ -512,6 +512,7 @@ class UserGrantedRemoteAppsAsTreeApi(ListAPIView):
|
|||
|
||||
|
||||
class ValidateUserRemoteAppPermissionApi(APIView):
|
||||
permission_classes = (IsOrgAdminOrAppUser,)
|
||||
|
||||
def get(self, request, *args, **kwargs):
|
||||
user_id = request.query_params.get('user_id', '')
|
||||
|
|
Loading…
Reference in New Issue