[Update] 修改华为云始终有效的bug

pull/3782/head
ibuler 5 years ago
parent 672b82c3d6
commit caee286973

@ -105,7 +105,7 @@ class AssetUserViewSet(CommonApiMixin, BulkModelViewSet):
class AssetUserAuthInfoViewSet(AssetUserViewSet): class AssetUserAuthInfoViewSet(AssetUserViewSet):
serializer_classes = {"default": serializers.AssetUserAuthInfoSerializer} serializer_classes = {"default": serializers.AssetUserAuthInfoSerializer}
http_method_names = ['get'] http_method_names = ['get', 'post']
permission_classes = [IsOrgAdminOrAppUser] permission_classes = [IsOrgAdminOrAppUser]
def get_permissions(self): def get_permissions(self):

Loading…
Cancel
Save