From 1cb60606481bafa3f4d5df64aa4bb7f212d57651 Mon Sep 17 00:00:00 2001 From: Panos Paparrigopoulos Date: Wed, 10 Jan 2024 16:09:58 +0100 Subject: [PATCH] Update syncUserRoles.py Update syncUserRoles.py to sync permissions for "_Disk_Temp" RSES --- docker/CMSRucioClient/scripts/syncUserRoles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/CMSRucioClient/scripts/syncUserRoles.py b/docker/CMSRucioClient/scripts/syncUserRoles.py index ee5e085a..0f5cca06 100755 --- a/docker/CMSRucioClient/scripts/syncUserRoles.py +++ b/docker/CMSRucioClient/scripts/syncUserRoles.py @@ -7,7 +7,7 @@ from rucio.client.client import Client from rucio.common.exception import RSEAttributeNotFound, Duplicate, AccountNotFound, InvalidObject -TO_STRIP = ['_Disk', '_Tape', '_Temp', '_Test', '_Disk_Test', '_Tape_Test', '_Ceph'] +TO_STRIP = ['_Disk', '_Tape', '_Temp', '_Disk_Temp', '_Test', '_Disk_Test', '_Tape_Test', '_Ceph'] CRIC_USERS_API = 'https://cms-cric.cern.ch/api/accounts/user/query/list/?json&preset=roles' CRIC_SITE_API = 'https://cms-cric.cern.ch/api/cms/site/query/?json'