From 6957b19ec8c14d91f10c13b47109678831660495 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Wed, 23 Nov 2016 22:05:07 +0100 Subject: [PATCH] warp ACL translations PR: https://github.com/opnsense/core/issues/1037 --- .../mvc/app/models/OPNsense/HelloWorld/ACL/ACL.xml | 4 +--- .../mvc/app/models/OPNsense/FtpProxy/ACL/ACL.xml | 3 +-- .../mvc/app/models/OPNsense/HAProxy/ACL/ACL.xml | 4 +--- .../mvc/app/models/OPNsense/L2TP/ACL/ACL.xml | 13 ++++--------- .../mvc/app/models/OPNsense/PPPoE/ACL/ACL.xml | 10 +++------- .../mvc/app/models/OPNsense/PPTP/ACL/ACL.xml | 13 ++++--------- .../mvc/app/models/OPNsense/Tinc/ACL/ACL.xml | 4 +--- .../mvc/app/models/OPNsense/Smart/ACL/ACL.xml | 4 +--- .../mvc/app/models/OPNsense/SSOProxyAD/ACL/ACL.xml | 4 +--- 9 files changed, 17 insertions(+), 42 deletions(-) diff --git a/devel/helloworld/src/opnsense/mvc/app/models/OPNsense/HelloWorld/ACL/ACL.xml b/devel/helloworld/src/opnsense/mvc/app/models/OPNsense/HelloWorld/ACL/ACL.xml index db591695c..c5978d0cc 100644 --- a/devel/helloworld/src/opnsense/mvc/app/models/OPNsense/HelloWorld/ACL/ACL.xml +++ b/devel/helloworld/src/opnsense/mvc/app/models/OPNsense/HelloWorld/ACL/ACL.xml @@ -1,8 +1,6 @@ - - WebCfg - Users: Hello World! - Allow access to the Hello World! module + Lobby: Hello World! ui/helloworld/* api/helloworld/* diff --git a/net/ftp-proxy/src/opnsense/mvc/app/models/OPNsense/FtpProxy/ACL/ACL.xml b/net/ftp-proxy/src/opnsense/mvc/app/models/OPNsense/FtpProxy/ACL/ACL.xml index d3f3dec1c..cc01b3e90 100644 --- a/net/ftp-proxy/src/opnsense/mvc/app/models/OPNsense/FtpProxy/ACL/ACL.xml +++ b/net/ftp-proxy/src/opnsense/mvc/app/models/OPNsense/FtpProxy/ACL/ACL.xml @@ -1,7 +1,6 @@ - WebCfg - Services: FTP Proxy page - Allow access to the 'Services: FTP Proxy' page. + Services: FTP Proxy ui/ftpproxy/* api/ftpproxy/* diff --git a/net/haproxy/src/opnsense/mvc/app/models/OPNsense/HAProxy/ACL/ACL.xml b/net/haproxy/src/opnsense/mvc/app/models/OPNsense/HAProxy/ACL/ACL.xml index 01d17baf8..e05fc25d6 100644 --- a/net/haproxy/src/opnsense/mvc/app/models/OPNsense/HAProxy/ACL/ACL.xml +++ b/net/haproxy/src/opnsense/mvc/app/models/OPNsense/HAProxy/ACL/ACL.xml @@ -1,8 +1,6 @@ - - WebCfg - Services: HAProxy page - Allow access to the 'Services: HAProxy' page. + Services: HAProxy ui/haproxy/* api/haproxy/* diff --git a/net/l2tp/src/opnsense/mvc/app/models/OPNsense/L2TP/ACL/ACL.xml b/net/l2tp/src/opnsense/mvc/app/models/OPNsense/L2TP/ACL/ACL.xml index 46fd8a6c7..24ea3d3e1 100644 --- a/net/l2tp/src/opnsense/mvc/app/models/OPNsense/L2TP/ACL/ACL.xml +++ b/net/l2tp/src/opnsense/mvc/app/models/OPNsense/L2TP/ACL/ACL.xml @@ -1,29 +1,24 @@ - - WebCfg - Diagnostics: Logs: L2TP page - Allow access to the 'Diagnostics: Logs: L2TP' page. + Diagnostics: Logs: L2TP vpn_l2tp_log.php* - WebCfg - VPN: L2TP page - Allow access to the 'VPN: L2TP' page. + VPN: L2TP vpn_l2tp.php* - WebCfg - VPN: L2TP: Users : Edit page - Allow access to the 'VPN: L2TP: Users : Edit' page. + VPN: L2TP: Users: Edit vpn_l2tp_users_edit.php* - WebCfg - VPN: L2TP: Users page - Allow access to the 'VPN: L2TP : Users' page. + VPN: L2TP: Users vpn_l2tp_users.php* diff --git a/net/pppoe/src/opnsense/mvc/app/models/OPNsense/PPPoE/ACL/ACL.xml b/net/pppoe/src/opnsense/mvc/app/models/OPNsense/PPPoE/ACL/ACL.xml index 2c3f08f66..782e5c9d8 100644 --- a/net/pppoe/src/opnsense/mvc/app/models/OPNsense/PPPoE/ACL/ACL.xml +++ b/net/pppoe/src/opnsense/mvc/app/models/OPNsense/PPPoE/ACL/ACL.xml @@ -1,22 +1,18 @@ - - WebCfg - Diagnostics: Logs: PPPoE page - Allow access to the 'Diagnostics: Logs: PPPoE' page. + Diagnostics: Logs: PPPoE vpn_pppoe_log.php* - WebCfg - Services: PPPoE Server page - Allow access to the 'Services: PPPoE Server' page. + Services: PPPoE Server vpn_pppoe.php* - WebCfg - Services: PPPoE Server: Edit page - Allow access to the 'Services: PPPoE Server: Edit' page. + Services: PPPoE Server: Edit vpn_pppoe_edit.php* diff --git a/net/pptp/src/opnsense/mvc/app/models/OPNsense/PPTP/ACL/ACL.xml b/net/pptp/src/opnsense/mvc/app/models/OPNsense/PPTP/ACL/ACL.xml index e0bd4443a..fc66ffa68 100644 --- a/net/pptp/src/opnsense/mvc/app/models/OPNsense/PPTP/ACL/ACL.xml +++ b/net/pptp/src/opnsense/mvc/app/models/OPNsense/PPTP/ACL/ACL.xml @@ -1,29 +1,24 @@ - - WebCfg - Diagnostics: Logs: PPTP page - Allow access to the 'Diagnostics: Logs: PPTP' page. + Diagnostics: Logs: PPTP vpn_pptp_log.php* - WebCfg - VPN: PPTP page - Allow access to the 'VPN: PPTP' page. + VPN: PPTP vpn_pptp.php* - WebCfg - VPN: PPTP: User: Edit page - Allow access to the 'VPN: PPTP: User: Edit' page. + VPN: PPTP: User: Edit vpn_pptp_users_edit.php* - WebCfg - VPN: PPTP: Users page - Allow access to the 'VPN: PPTP: Users' page. + VPN: PPTP: Users vpn_pptp_users.php* diff --git a/security/tinc/src/opnsense/mvc/app/models/OPNsense/Tinc/ACL/ACL.xml b/security/tinc/src/opnsense/mvc/app/models/OPNsense/Tinc/ACL/ACL.xml index 91fe58bcd..ca3734bd7 100644 --- a/security/tinc/src/opnsense/mvc/app/models/OPNsense/Tinc/ACL/ACL.xml +++ b/security/tinc/src/opnsense/mvc/app/models/OPNsense/Tinc/ACL/ACL.xml @@ -1,8 +1,6 @@ - - WebCfg - VPN: Tinc configuration - Allow access to the 'VPN: Tinc' page. + VPN: Tinc configuration ui/tinc/* api/tinc/* diff --git a/sysutils/smart/src/opnsense/mvc/app/models/OPNsense/Smart/ACL/ACL.xml b/sysutils/smart/src/opnsense/mvc/app/models/OPNsense/Smart/ACL/ACL.xml index b8845cb8f..b6f6ad617 100644 --- a/sysutils/smart/src/opnsense/mvc/app/models/OPNsense/Smart/ACL/ACL.xml +++ b/sysutils/smart/src/opnsense/mvc/app/models/OPNsense/Smart/ACL/ACL.xml @@ -1,8 +1,6 @@ - - WebCfg - Services: SMART - Allow access to the 'Services: SMART' page. + Services: SMART diag_smart.php* diff --git a/www/web-proxy-sso/src/opnsense/mvc/app/models/OPNsense/SSOProxyAD/ACL/ACL.xml b/www/web-proxy-sso/src/opnsense/mvc/app/models/OPNsense/SSOProxyAD/ACL/ACL.xml index 548e3a664..1e1778625 100644 --- a/www/web-proxy-sso/src/opnsense/mvc/app/models/OPNsense/SSOProxyAD/ACL/ACL.xml +++ b/www/web-proxy-sso/src/opnsense/mvc/app/models/OPNsense/SSOProxyAD/ACL/ACL.xml @@ -1,8 +1,6 @@ - - WebCfg - Users: SSO Proxy AD - Allow access to the SSO Proxy AD module + Services: Web Proxy: SSO ui/ssoproxyad/* api/ssoproxyad/*