Skip to content

Commit

Permalink
Merge pull request #860 from dmwm/mit_archive_restriction
Browse files Browse the repository at this point in the history
Remove archive_timeout restriction from MIT Tape
  • Loading branch information
dynamic-entropy authored Nov 11, 2024
2 parents 9ef46f0 + 9e80198 commit 1de5ca9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/policy/CMSRucioPolicy/permission.py
Original file line number Diff line number Diff line change
Expand Up @@ -1392,9 +1392,7 @@ def _restricted_rse_attribute(rse, key, value=None):
# Add restricted attributes to this list
# Use None as value to restrict the key regardless of the value

restricted_attributes = [
('T2_US_MIT_Tape', 'archive_timeout', None)
]
restricted_attributes = []
for rse_name, attribute_key, attribute_value in restricted_attributes:
if rse == rse_name and key == attribute_key and (attribute_value == value or attribute_value is None):
return True
Expand Down

0 comments on commit 1de5ca9

Please sign in to comment.