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
97bc3d0e
Commit
97bc3d0e
authored
Nov 10, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upnp: move menu and acl to separate files
(cherry picked from commit
8de4047e
)
parent
9df5bdce
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
20 deletions
+28
-20
plist
plist
+2
-0
Menu.xml
src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
+0
-6
ACL_Legacy_Page_Map.json
...nse/mvc/app/models/OPNsense/Core/ACL_Legacy_Page_Map.json
+0
-14
ACL.xml
src/opnsense/mvc/app/models/OPNsense/UPnP/ACL/ACL.xml
+16
-0
Menu.xml
src/opnsense/mvc/app/models/OPNsense/UPnP/Menu/Menu.xml
+10
-0
No files found.
plist
View file @
97bc3d0e
...
...
@@ -448,6 +448,8 @@
/usr/local/opnsense/mvc/app/models/OPNsense/TrafficShaper/Migrations/M1_0_0.php
/usr/local/opnsense/mvc/app/models/OPNsense/TrafficShaper/TrafficShaper.php
/usr/local/opnsense/mvc/app/models/OPNsense/TrafficShaper/TrafficShaper.xml
/usr/local/opnsense/mvc/app/models/OPNsense/UPnP/ACL/ACL.xml
/usr/local/opnsense/mvc/app/models/OPNsense/UPnP/Menu/Menu.xml
/usr/local/opnsense/mvc/app/views/OPNsense/CaptivePortal/clients.volt
/usr/local/opnsense/mvc/app/views/OPNsense/CaptivePortal/index.volt
/usr/local/opnsense/mvc/app/views/OPNsense/CaptivePortal/vouchers.volt
...
...
src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
View file @
97bc3d0e
...
...
@@ -278,12 +278,6 @@
<Log
order=
"50"
VisibleName=
"Log File"
url=
"/diag_logs_ntpd.php"
/>
</NTP>
<SNMP
url=
"/services_snmp.php"
cssClass=
"fa fa-database fa-fw"
/>
<UPnP
VisibleName=
"Universal Plug and Play"
cssClass=
"fa fa-plug fa-fw"
>
<Settings
url=
"/services_upnp.php"
>
<Edit
url=
"/services_upnp.php?*"
visibility=
"hidden"
/>
</Settings>
<Status
url=
"/status_upnp.php"
/>
</UPnP>
<WoL
VisibleName=
"Wake on LAN"
url=
"/services_wol.php"
cssClass=
"fa fa-power-off fa-fw"
>
<WoLEdit
url=
"/services_wol_edit.php*"
visibility=
"hidden"
/>
<Wol
url=
"/services_wol.php*"
visibility=
"hidden"
/>
...
...
src/opnsense/mvc/app/models/OPNsense/Core/ACL_Legacy_Page_Map.json
View file @
97bc3d0e
...
...
@@ -966,20 +966,6 @@
"status_graph.php*"
]
},
"page-service-upnp"
:
{
"name"
:
"WebCfg - Service: Universal Plug and Play page"
,
"descr"
:
"Allow access to the 'Service: Universal Plug and Play' page."
,
"match"
:
[
"services_upnp.php*"
]
},
"page-status-upnpstatus"
:
{
"name"
:
"WebCfg - Status: Universal Plug and Play page"
,
"descr"
:
"Allow access to the 'Status: Universal Plug and Play' page."
,
"match"
:
[
"status_upnp.php*"
]
},
"page-diagnostics-wirelessstatus"
:
{
"name"
:
"WebCfg - Status: Wireless page"
,
"descr"
:
"Allow access to the 'Status: Wireless' page."
,
...
...
src/opnsense/mvc/app/models/OPNsense/UPnP/ACL/ACL.xml
0 → 100644
View file @
97bc3d0e
<acl>
<page-service-upnp>
<name>
WebCfg - Service: Universal Plug and Play page
</name>
<description>
Allow access to the 'Service: Universal Plug and Play' page.
</description>
<patterns>
<pattern>
services_upnp.php*
</pattern>
</patterns>
</page-service-upnp>
<page-status-upnpstatus>
<name>
WebCfg - Status: Universal Plug and Play page
</name>
<description>
Allow access to the 'Status: Universal Plug and Play' page.
</description>
<patterns>
<pattern>
status_upnp.php*
</pattern>
</patterns>
</page-status-upnpstatus>
</acl>
src/opnsense/mvc/app/models/OPNsense/UPnP/Menu/Menu.xml
0 → 100644
View file @
97bc3d0e
<menu>
<Services>
<UPnP
VisibleName=
"Universal Plug and Play"
cssClass=
"fa fa-plug fa-fw"
>
<Settings
url=
"/services_upnp.php"
>
<Edit
url=
"/services_upnp.php?*"
visibility=
"hidden"
/>
</Settings>
<Status
url=
"/status_upnp.php"
/>
</UPnP>
</Services>
</menu>
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