From 869ada26e955bf175c0a304755927c10a320b727 Mon Sep 17 00:00:00 2001 From: martynia Date: Fri, 9 Aug 2024 18:27:27 +0200 Subject: [PATCH] fix: add some comments --- .../src/diracx/routers/pilot_logging/access_policies.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/diracx-routers/src/diracx/routers/pilot_logging/access_policies.py b/diracx-routers/src/diracx/routers/pilot_logging/access_policies.py index 9473c455..c49f82f4 100644 --- a/diracx-routers/src/diracx/routers/pilot_logging/access_policies.py +++ b/diracx-routers/src/diracx/routers/pilot_logging/access_policies.py @@ -24,9 +24,9 @@ class ActionType(StrEnum): class PilotLogsAccessPolicy(BaseAccessPolicy): - """ToDo - ---- - + """Rules: + Only PILOT, GENERIC_PILOT, SERVICE_ADMINISTRATOR and OPERATOR can create log records. + Policies for other actions to be determined. """ @staticmethod