aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-09-27 01:45:13 +0200
committerdoktornotor <notordoktor@gmail.com>2015-09-27 01:45:13 +0200
commit6a6ccb8d5ac6493a877e8f5b6f0fa9b05edc7aa9 (patch)
treeda27fd5c9f3db27115ce135266838dfda794926d /config
parent8f68ccbdac2f2fffdb9a6913a18d90b7efa812f8 (diff)
downloadpfsense-packages-6a6ccb8d5ac6493a877e8f5b6f0fa9b05edc7aa9.tar.gz
pfsense-packages-6a6ccb8d5ac6493a877e8f5b6f0fa9b05edc7aa9.tar.bz2
pfsense-packages-6a6ccb8d5ac6493a877e8f5b6f0fa9b05edc7aa9.zip
filer - add privileges configuration
Diffstat (limited to 'config')
-rw-r--r--config/filer/filer.priv.inc40
1 files changed, 40 insertions, 0 deletions
diff --git a/config/filer/filer.priv.inc b/config/filer/filer.priv.inc
new file mode 100644
index 00000000..60dd0cd9
--- /dev/null
+++ b/config/filer/filer.priv.inc
@@ -0,0 +1,40 @@
+<?php
+/*
+ filer.priv.inc
+ part of pfSense (http://www.pfSense.org/)
+ Copyright (C) 2015 ESF, LLC
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ 1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+ THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
+ AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
+ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+*/
+global $priv_list;
+
+$priv_list['page-diagnostics-filer'] = array();
+$priv_list['page-diagnostics-filer']['name'] = "WebCfg - Diagnostics: Filer package";
+$priv_list['page-diagnostics-filer']['descr'] = "Allow access to Filer package GUI";
+
+$priv_list['page-diagnostics-filer']['match'] = array();
+$priv_list['page-diagnostics-filer']['match'][] = "pkg.php?xml=filer.xml*";
+$priv_list['page-diagnostics-filer']['match'][] = "pkg_edit.php?xml=filer.xml*";
+$priv_list['page-diagnostics-filer']['match'][] = "pkg_edit.php?xml=filer_sync.xml*";
+
+?>