4
0

Ajout detail usage commandes import/export acl

This commit is contained in:
2025-01-08 17:42:00 +01:00
parent 3855386c65
commit 3183b0c40f
2 changed files with 18 additions and 1 deletions

View File

@@ -29,6 +29,14 @@ def import_acls(input_file):
def main():
if len(sys.argv) != 2:
print(f"Usage: {sys.argv[0]} <input_file>")
print("""
Arguments:
input_file - File containing ACLs to import
Input file format:
<acl-path> <user>@<realm> <role>
<acl-path> <user>@<realm> <role>
...""")
sys.exit(1)
input_file = sys.argv[1]