Commit 30dde26b authored by Stavros-Anastasios Charismiadis's avatar Stavros-Anastasios Charismiadis
Browse files

Remove debug messages

parent 77f71dfd
Loading
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -30,14 +30,11 @@ class ControlAccess(Resource):
                        if service_id not in cert_entry["resources"].get("services"):
                        if service_id not in cert_entry["resources"].get("services"):
                            is_user_owner = False
                            is_user_owner = False
                if is_user_owner == False:
                if is_user_owner == False:
                    current_app.logger.info("STEP3")
                    prob = ProblemDetails(
                    prob = ProblemDetails(
                        title="Unauthorized",
                        title="Unauthorized",
                        detail="User not authorized",
                        detail="User not authorized",
                        cause="You are not the owner of this resource")
                        cause="You are not the owner of this resource")
                    current_app.logger.info("STEP4")
                    prob = serialize_clean_camel_case(prob)
                    prob = serialize_clean_camel_case(prob)
                    current_app.logger.info("STEP5")
                    return Response(
                    return Response(
                        json.dumps(prob, cls=CustomJSONEncoder),
                        json.dumps(prob, cls=CustomJSONEncoder),
                        status=401,
                        status=401,