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
4b99ff9f
Commit
4b99ff9f
authored
Nov 21, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wake on lan: acl and menu
parent
d83563fa
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
18 deletions
+26
-18
plist
plist
+2
-0
Menu.xml
src/opnsense/mvc/app/models/OPNsense/Base/Menu/Menu.xml
+0
-4
ACL.xml
src/opnsense/mvc/app/models/OPNsense/Core/ACL/ACL.xml
+0
-14
ACL.xml
src/opnsense/mvc/app/models/OPNsense/WOL/ACL/ACL.xml
+16
-0
Menu.xml
src/opnsense/mvc/app/models/OPNsense/WOL/Menu/Menu.xml
+8
-0
No files found.
plist
View file @
4b99ff9f
...
...
@@ -468,6 +468,8 @@
/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/models/OPNsense/WOL/ACL/ACL.xml
/usr/local/opnsense/mvc/app/models/OPNsense/WOL/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 @
4b99ff9f
...
...
@@ -255,10 +255,6 @@
<Lookup
order=
"40"
url=
"/diag_dns.php"
/>
<LogFile
order=
"100"
VisibleName=
"Log File"
url=
"/diag_logs_resolver.php"
/>
</DNSTools>
<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"
/>
</WoL>
<Diagnostics
order=
"900"
cssClass=
"fa fa-medkit fa-fw"
url=
"/status_services.php"
>
<All
url=
"/status_services.php?*"
visibility=
"hidden"
/>
</Diagnostics>
...
...
src/opnsense/mvc/app/models/OPNsense/Core/ACL/ACL.xml
View file @
4b99ff9f
...
...
@@ -658,20 +658,6 @@
<pattern>
services_router_advertisements.php*
</pattern>
</patterns>
</page-services-router-advertisements>
<page-services-wakeonlan>
<name>
WebCfg - Services: Wake on LAN page
</name>
<description>
Allow access to the 'Services: Wake on LAN' page.
</description>
<patterns>
<pattern>
services_wol.php*
</pattern>
</patterns>
</page-services-wakeonlan>
<page-services-wakeonlan-edit>
<name>
WebCfg - Services: Wake on LAN: Edit page
</name>
<description>
Allow access to the 'Services: Wake on LAN: Edit' page.
</description>
<patterns>
<pattern>
services_wol_edit.php*
</pattern>
</patterns>
</page-services-wakeonlan-edit>
<page-status-carp>
<name>
WebCfg - Status: CARP page
</name>
<description>
Allow access to the 'Status: CARP' page.
</description>
...
...
src/opnsense/mvc/app/models/OPNsense/WOL/ACL/ACL.xml
0 → 100644
View file @
4b99ff9f
<acl>
<page-services-wakeonlan>
<name>
WebCfg - Services: Wake on LAN page
</name>
<description>
Allow access to the 'Services: Wake on LAN' page.
</description>
<patterns>
<pattern>
services_wol.php*
</pattern>
</patterns>
</page-services-wakeonlan>
<page-services-wakeonlan-edit>
<name>
WebCfg - Services: Wake on LAN: Edit page
</name>
<description>
Allow access to the 'Services: Wake on LAN: Edit' page.
</description>
<patterns>
<pattern>
services_wol_edit.php*
</pattern>
</patterns>
</page-services-wakeonlan-edit>
</acl>
src/opnsense/mvc/app/models/OPNsense/WOL/Menu/Menu.xml
0 → 100644
View file @
4b99ff9f
<menu>
<Services>
<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"
/>
</WoL>
</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