Skip to content

Commit 45995cd

Browse files
NRL-2099 Only list currently supported access controls
1 parent 12cf6f4 commit 45995cd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/manage_permissions.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,12 @@ def list_available_access_controls() -> None:
141141
"""
142142
print("The following access controls can be assigned:")
143143

144-
for control in AccessControls.list():
144+
currently_supported_access_controls = [
145+
AccessControls.ALLOW_ALL_TYPES,
146+
AccessControls.ALLOW_OVERRIDE_CREATION_DATETIME,
147+
AccessControls.ALLOW_SUPERSEDE_WITH_DELETE_FAILURE,
148+
]
149+
for control in currently_supported_access_controls:
145150
print(f"- {control}")
146151

147152

0 commit comments

Comments
 (0)