Commit b18ca8c9 authored by BaiJiangJie's avatar BaiJiangJie Committed by 老广

[Update] 校验用户对RemoteApp权限API添加权限控制 (#2715)

parent 3eaf4cd1
...@@ -512,6 +512,7 @@ class UserGrantedRemoteAppsAsTreeApi(ListAPIView): ...@@ -512,6 +512,7 @@ class UserGrantedRemoteAppsAsTreeApi(ListAPIView):
class ValidateUserRemoteAppPermissionApi(APIView): class ValidateUserRemoteAppPermissionApi(APIView):
permission_classes = (IsOrgAdminOrAppUser,)
def get(self, request, *args, **kwargs): def get(self, request, *args, **kwargs):
user_id = request.query_params.get('user_id', '') user_id = request.query_params.get('user_id', '')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment