Skip to content

CLI: List both user and sys ACLs when listing

Gianmaria Del Monte requested to merge EOS-4584-acl-list into master

If no filters are passed, in the list ACLs command (eos acl --list) print both sys and user ACLs. In the print, the two categories are highlighted:

# sys.acl
u:1000:rwx
# user.acl
u:1001:rwx

If the sys.eval.useracl attribute is set, the acl is marked as ignored:

# sys.acl
u:1000:rwx,u:1004:rwx
# user.acl (ignored)
u:1001:rwx,u:1002:rwx

Closes EOS-4584

Merge request reports

Loading