From 00c78f33a8772b847ef6c2ee8fcbcbaf8dc87cb5 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Thu, 21 Aug 2025 13:31:33 +0100 Subject: op-mode: T7745: add a CLI for operator user command permissions --- interface-definitions/system_login.xml.in | 52 +++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) (limited to 'interface-definitions') diff --git a/interface-definitions/system_login.xml.in b/interface-definitions/system_login.xml.in index a13ba10ea..6b1493cde 100644 --- a/interface-definitions/system_login.xml.in +++ b/interface-definitions/system_login.xml.in @@ -8,6 +8,38 @@ 400 + + + Operator group + + #include + + Operator group name contains illegal characters or\nexceeds 100 character limitation. + + + + + Command policy + + + + + + Command subtree allowed to execute + + txt + Exact command (e.g., 'show interfaces') + + + txt + Command wildcard (e.g., '* vpn') + + + + + + + Local user account information @@ -17,6 +49,26 @@ Username contains illegal characters or\nexceeds 100 character limitation. + + + Restrict the user to operational mode + + + + + + Operator group + + system login operator-group + + + txt + Operator group name + + + + + Authentication settings -- cgit v1.2.3