Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
2b5cb79d
Commit
2b5cb79d
authored
Apr 09, 2015
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ACL: consolidate naming of VPN pages so that OpenVPN `reappears'
parent
f6df6240
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
29 deletions
+25
-29
priv.defs.inc
src/etc/inc/priv.defs.inc
+24
-28
ACL_Legacy_Page_Map.txt
...ense/mvc/app/models/OPNsense/Core/ACL_Legacy_Page_Map.txt
+1
-1
No files found.
src/etc/inc/priv.defs.inc
View file @
2b5cb79d
...
...
@@ -1303,41 +1303,47 @@ $priv_list['page-vpn-ipsec-editphase2']['match'] = array();
$priv_list
[
'page-vpn-ipsec-editphase2'
][
'match'
][]
=
"vpn_ipsec_phase2.php*"
;
$priv_list
[
'page-vpn-vpnl2tp'
]
=
array
();
$priv_list
[
'page-vpn-vpnl2tp'
][
'name'
]
=
gettext
(
"WebCfg - VPN:
VPN
L2TP page"
);
$priv_list
[
'page-vpn-vpnl2tp'
][
'descr'
]
=
gettext
(
"Allow access to the 'VPN:
VPN
L2TP' page."
);
$priv_list
[
'page-vpn-vpnl2tp'
][
'name'
]
=
gettext
(
"WebCfg - VPN: L2TP page"
);
$priv_list
[
'page-vpn-vpnl2tp'
][
'descr'
]
=
gettext
(
"Allow access to the 'VPN: L2TP' page."
);
$priv_list
[
'page-vpn-vpnl2tp'
][
'match'
]
=
array
();
$priv_list
[
'page-vpn-vpnl2tp'
][
'match'
][]
=
"vpn_l2tp.php*"
;
$priv_list
[
'page-vpn-vpnl2tp-users'
]
=
array
();
$priv_list
[
'page-vpn-vpnl2tp-users'
][
'name'
]
=
gettext
(
"WebCfg - VPN:
VPN L2TP
: Users page"
);
$priv_list
[
'page-vpn-vpnl2tp-users'
][
'descr'
]
=
gettext
(
"Allow access to the 'VPN:
VPN
L2TP : Users' page."
);
$priv_list
[
'page-vpn-vpnl2tp-users'
][
'name'
]
=
gettext
(
"WebCfg - VPN:
L2TP
: Users page"
);
$priv_list
[
'page-vpn-vpnl2tp-users'
][
'descr'
]
=
gettext
(
"Allow access to the 'VPN: L2TP : Users' page."
);
$priv_list
[
'page-vpn-vpnl2tp-users'
][
'match'
]
=
array
();
$priv_list
[
'page-vpn-vpnl2tp-users'
][
'match'
][]
=
"vpn_l2tp_users.php*"
;
$priv_list
[
'page-vpn-vpnl2tp-users-edit'
]
=
array
();
$priv_list
[
'page-vpn-vpnl2tp-users-edit'
][
'name'
]
=
gettext
(
"WebCfg - VPN:
VPN L2TP
: Users : Edit page"
);
$priv_list
[
'page-vpn-vpnl2tp-users-edit'
][
'descr'
]
=
gettext
(
"Allow access to the 'VPN:
VPN L2TP
: Users : Edit' page."
);
$priv_list
[
'page-vpn-vpnl2tp-users-edit'
][
'name'
]
=
gettext
(
"WebCfg - VPN:
L2TP
: Users : Edit page"
);
$priv_list
[
'page-vpn-vpnl2tp-users-edit'
][
'descr'
]
=
gettext
(
"Allow access to the 'VPN:
L2TP
: Users : Edit' page."
);
$priv_list
[
'page-vpn-vpnl2tp-users-edit'
][
'match'
]
=
array
();
$priv_list
[
'page-vpn-vpnl2tp-users-edit'
][
'match'
][]
=
"vpn_l2tp_users_edit.php*"
;
$priv_list
[
'page-openvpn-client'
]
=
array
();
$priv_list
[
'page-openvpn-client'
][
'name'
]
=
gettext
(
"WebCfg - OpenVPN: Client page"
);
$priv_list
[
'page-openvpn-client'
][
'descr'
]
=
gettext
(
"Allow access to the 'OpenVPN: Client' page."
);
$priv_list
[
'page-openvpn-client'
][
'name'
]
=
gettext
(
"WebCfg -
VPN:
OpenVPN: Client page"
);
$priv_list
[
'page-openvpn-client'
][
'descr'
]
=
gettext
(
"Allow access to the '
VPN:
OpenVPN: Client' page."
);
$priv_list
[
'page-openvpn-client'
][
'match'
]
=
array
();
$priv_list
[
'page-openvpn-client'
][
'match'
][]
=
"vpn_openvpn_client.php*"
;
$priv_list
[
'page-openvpn-csc'
]
=
array
();
$priv_list
[
'page-openvpn-csc'
][
'name'
]
=
gettext
(
"WebCfg - OpenVPN: Client Specific Override page"
);
$priv_list
[
'page-openvpn-csc'
][
'descr'
]
=
gettext
(
"Allow access to the 'OpenVPN: Client Specific Override' page."
);
$priv_list
[
'page-openvpn-csc'
][
'name'
]
=
gettext
(
"WebCfg -
VPN:
OpenVPN: Client Specific Override page"
);
$priv_list
[
'page-openvpn-csc'
][
'descr'
]
=
gettext
(
"Allow access to the '
VPN:
OpenVPN: Client Specific Override' page."
);
$priv_list
[
'page-openvpn-csc'
][
'match'
]
=
array
();
$priv_list
[
'page-openvpn-csc'
][
'match'
][]
=
"vpn_openvpn_csc.php*"
;
$priv_list
[
'page-openvpn-server'
]
=
array
();
$priv_list
[
'page-openvpn-server'
][
'name'
]
=
gettext
(
"WebCfg - OpenVPN: Server page"
);
$priv_list
[
'page-openvpn-server'
][
'descr'
]
=
gettext
(
"Allow access to the 'OpenVPN: Server' page."
);
$priv_list
[
'page-openvpn-server'
][
'name'
]
=
gettext
(
"WebCfg -
VPN:
OpenVPN: Server page"
);
$priv_list
[
'page-openvpn-server'
][
'descr'
]
=
gettext
(
"Allow access to the '
VPN:
OpenVPN: Server' page."
);
$priv_list
[
'page-openvpn-server'
][
'match'
]
=
array
();
$priv_list
[
'page-openvpn-server'
][
'match'
][]
=
"vpn_openvpn_server.php*"
;
$priv_list
[
'page-openvpn-client-export'
]
=
array
();
$priv_list
[
'page-openvpn-client-export'
][
'name'
]
=
"WebCfg - VPN: OpenVPN: Client Export Utility"
;
$priv_list
[
'page-openvpn-client-export'
][
'descr'
]
=
"Allow access to the 'VPN: OpenVPN: Client Export Utility' page."
;
$priv_list
[
'page-openvpn-client-export'
][
'match'
]
=
array
();
$priv_list
[
'page-openvpn-client-export'
][
'match'
][]
=
"vpn_openvpn_export.php*"
;
$priv_list
[
'page-services-pppoeserver'
]
=
array
();
$priv_list
[
'page-services-pppoeserver'
][
'name'
]
=
gettext
(
"WebCfg - Services: PPPoE Server page"
);
$priv_list
[
'page-services-pppoeserver'
][
'descr'
]
=
gettext
(
"Allow access to the 'Services: PPPoE Server' page."
);
...
...
@@ -1351,20 +1357,20 @@ $priv_list['page-services-pppoeserver-edit']['match'] = array();
$priv_list
[
'page-services-pppoeserver-edit'
][
'match'
][]
=
"vpn_pppoe_edit.php*"
;
$priv_list
[
'page-vpn-vpnpptp'
]
=
array
();
$priv_list
[
'page-vpn-vpnpptp'
][
'name'
]
=
gettext
(
"WebCfg - VPN:
VPN
PPTP page"
);
$priv_list
[
'page-vpn-vpnpptp'
][
'descr'
]
=
gettext
(
"Allow access to the 'VPN:
VPN
PPTP' page."
);
$priv_list
[
'page-vpn-vpnpptp'
][
'name'
]
=
gettext
(
"WebCfg - VPN: PPTP page"
);
$priv_list
[
'page-vpn-vpnpptp'
][
'descr'
]
=
gettext
(
"Allow access to the 'VPN: PPTP' page."
);
$priv_list
[
'page-vpn-vpnpptp'
][
'match'
]
=
array
();
$priv_list
[
'page-vpn-vpnpptp'
][
'match'
][]
=
"vpn_pptp.php*"
;
$priv_list
[
'page-vpn-vpnpptp-users'
]
=
array
();
$priv_list
[
'page-vpn-vpnpptp-users'
][
'name'
]
=
gettext
(
"WebCfg - VPN:
VPN
PPTP: Users page"
);
$priv_list
[
'page-vpn-vpnpptp-users'
][
'descr'
]
=
gettext
(
"Allow access to the 'VPN:
VPN
PPTP: Users' page."
);
$priv_list
[
'page-vpn-vpnpptp-users'
][
'name'
]
=
gettext
(
"WebCfg - VPN: PPTP: Users page"
);
$priv_list
[
'page-vpn-vpnpptp-users'
][
'descr'
]
=
gettext
(
"Allow access to the 'VPN: PPTP: Users' page."
);
$priv_list
[
'page-vpn-vpnpptp-users'
][
'match'
]
=
array
();
$priv_list
[
'page-vpn-vpnpptp-users'
][
'match'
][]
=
"vpn_pptp_users.php*"
;
$priv_list
[
'page-vpn-vpnpptp-user-edit'
]
=
array
();
$priv_list
[
'page-vpn-vpnpptp-user-edit'
][
'name'
]
=
gettext
(
"WebCfg - VPN:
VPN
PPTP: User: Edit page"
);
$priv_list
[
'page-vpn-vpnpptp-user-edit'
][
'descr'
]
=
gettext
(
"Allow access to the 'VPN:
VPN
PPTP: User: Edit' page."
);
$priv_list
[
'page-vpn-vpnpptp-user-edit'
][
'name'
]
=
gettext
(
"WebCfg - VPN: PPTP: User: Edit page"
);
$priv_list
[
'page-vpn-vpnpptp-user-edit'
][
'descr'
]
=
gettext
(
"Allow access to the 'VPN: PPTP: User: Edit' page."
);
$priv_list
[
'page-vpn-vpnpptp-user-edit'
][
'match'
]
=
array
();
$priv_list
[
'page-vpn-vpnpptp-user-edit'
][
'match'
][]
=
"vpn_pptp_users_edit.php*"
;
...
...
@@ -1385,13 +1391,3 @@ $priv_list['page-firewall-easyrule']['name'] = gettext("WebCfg - Firewall: Easy
$priv_list
[
'page-firewall-easyrule'
][
'descr'
]
=
gettext
(
"Allow access to the 'Firewall: Easy Rule' add/status page."
);
$priv_list
[
'page-firewall-easyrule'
][
'match'
]
=
array
();
$priv_list
[
'page-firewall-easyrule'
][
'match'
][]
=
"easyrule.php*"
;
$priv_list
[
'page-openvpn-client-export'
]
=
array
();
$priv_list
[
'page-openvpn-client-export'
][
'name'
]
=
"WebCfg - OpenVPN: Client Export Utility"
;
$priv_list
[
'page-openvpn-client-export'
][
'descr'
]
=
"Allow access to the OpenVPN: Client Export Utility page."
;
$priv_list
[
'page-openvpn-client-export'
][
'match'
]
=
array
();
$priv_list
[
'page-openvpn-client-export'
][
'match'
][]
=
"vpn_openvpn_export.php*"
;
$priv_rmvd
=
array
();
?>
src/opnsense/mvc/app/models/OPNsense/Core/ACL_Legacy_Page_Map.txt
View file @
2b5cb79d
...
...
@@ -219,6 +219,7 @@ page-vpn-vpnl2tp-users-edit=vpn_l2tp_users_edit.php*
page-openvpn-client=vpn_openvpn_client.php*
page-openvpn-csc=vpn_openvpn_csc.php*
page-openvpn-server=vpn_openvpn_server.php*
page-openvpn-client-export=vpn_openvpn_export.php*
page-services-pppoeserver=vpn_pppoe.php*
page-services-pppoeserver-edit=vpn_pppoe_edit.php*
page-vpn-vpnpptp=vpn_pptp.php*
...
...
@@ -227,4 +228,3 @@ page-vpn-vpnpptp-user-edit=vpn_pptp_users_edit.php*
page-pfsensewizardsubsystem=wizard.php*
page-xmlrpclibrary=xmlrpc.php*
page-firewall-easyrule=easyrule.php*
page-openvpn-client-export=vpn_openvpn_export.php*
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment