Skip to content

Commit d43d0f2

Browse files
committed
fix: correct command usage and update argument documentation in enforcement command
1 parent 045860d commit d43d0f2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

openedx_authz/management/commands/enforcement.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
- Display of loaded policies, role assignments, and action grouping rules
1414
1515
Example usage:
16-
python manage.py lms enforcement --policy-file-path /path/to/authz.policy
16+
python manage.py enforcement --policy-file-path /path/to/authz.policy
1717
1818
Example test input:
1919
user:alice act:read org:OpenedX
@@ -63,7 +63,7 @@ def handle(self, *args, **options):
6363
6464
Args:
6565
*args: Positional command arguments (unused).
66-
**options: Command options including 'policy_file_path'.
66+
**options: Command options including `policy_file_path`.
6767
6868
Raises:
6969
CommandError: If model or policy files are not found or enforcer creation fails.

0 commit comments

Comments
 (0)