We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4f14f50 + c1988b1 commit 85c622dCopy full SHA for 85c622d
src/DIRAC/WorkloadManagementSystem/Service/WMSUtilities.py
@@ -84,7 +84,8 @@ def setPilotCredentials(ce, pilotDict):
84
:param pilotDict: pilot parameter dictionary
85
:return: S_OK/S_ERROR
86
"""
87
- if "Token" in ce.ceParameters.get("Tag", []):
+ vo = getVOForGroup(pilotDict["OwnerGroup"])
88
+ if "Token" in ce.ceParameters.get("Tag", []) or f"Token:{vo}" in ce.ceParameters.get("Tag", []):
89
result = gTokenManager.getToken(
90
userGroup=pilotDict["OwnerGroup"],
91
scope=PILOT_SCOPES,
0 commit comments