From cd2b3d4eeec282478d9d56d5cd64c97a71877af2 Mon Sep 17 00:00:00 2001 From: "M. Rehan" Date: Mon, 22 Jul 2024 00:42:23 +0500 Subject: [PATCH] Allow force flag for ACLs being applied on ix volumes --- catalog_reader/questions_util.py | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/catalog_reader/questions_util.py b/catalog_reader/questions_util.py index b070256..7fb205f 100644 --- a/catalog_reader/questions_util.py +++ b/catalog_reader/questions_util.py @@ -91,7 +91,26 @@ 'hidden': True } }, - ACL_QUESTION[1] + ACL_QUESTION[1], + { + 'variable': 'options', + 'label': 'ACL Options', + 'schema': { + 'type': 'dict', + 'hidden': True, + 'attrs': [ + { + 'variable': 'force', + 'label': 'Force Flag', + 'description': 'Enabling `Force` applies ACL even if the path has existing data', + 'schema': { + 'type': 'boolean', + 'default': True, + } + }, + ], + }, + }, ]