Skip to content

Commit

Permalink
Merge pull request #819 from dynamic-entropy/fix_analysis_tape_recall
Browse files Browse the repository at this point in the history
Analysis TapeRecal should be allowed to have multiple RSEs
  • Loading branch information
dynamic-entropy authored Jul 5, 2024
2 parents 26e67be + 1efba00 commit be3b859
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/policy/CMSRucioPolicy/permission.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ def perm_add_rule(issuer, kwargs, *, session: "Optional[Session]" = None):
return False

# If asked for approval, rse_expression can only be a single RSE
if kwargs["activity"] != "User AutoApprove" and kwargs["ask_approval"] and len(rses) != 1:
if kwargs["activity"] not in ["User AutoApprove", "Analysis TapeRecall"] and kwargs["ask_approval"] and len(rses) != 1:
return False

if kwargs["activity"] == "User AutoApprove":
Expand Down

0 comments on commit be3b859

Please sign in to comment.