Skip to content

Commit ecb3c17

Browse files
committed
allow process submission short after licence acceptance
1 parent 6d3bdaa commit ecb3c17

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

cads_processing_api_service/auth.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,6 @@ def verify_permission(user_uid: str, job: cads_broker.SystemRequest) -> None:
150150
)
151151

152152

153-
@cachetools.cached(
154-
cache=cachetools.TTLCache(
155-
maxsize=config.ensure_settings().cache_users_maxsize,
156-
ttl=config.ensure_settings().cache_users_ttl,
157-
),
158-
)
159153
def get_accepted_licences(auth_header: tuple[str, str]) -> set[tuple[str, int]]:
160154
"""Get licences accepted by a user stored in the Extended Profiles database.
161155

0 commit comments

Comments
 (0)