diff options
author | doktornotor <notordoktor@gmail.com> | 2017-02-17 02:06:44 +0100 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2017-02-22 08:02:28 -0300 |
commit | 9aa5c31ee5a92c4d12c6ca0e667f0cec206b1c72 (patch) | |
tree | 51fc6d4acf5b223578b750bfeb66a4987f54f82d | |
parent | 6168676361333f353d5a35b352c98fc495ff29dc (diff) | |
download | FreeBSD-ports-9aa5c31ee5a92c4d12c6ca0e667f0cec206b1c72.zip FreeBSD-ports-9aa5c31ee5a92c4d12c6ca0e667f0cec206b1c72.tar.gz |
Add privileges settings to softflowd
(cherry picked from commit 88e0d4a4d8c90e976b867153daa889d20db766d4)
-rw-r--r-- | net-mgmt/pfSense-pkg-softflowd/files/etc/inc/priv/softflowd.priv.inc | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/net-mgmt/pfSense-pkg-softflowd/files/etc/inc/priv/softflowd.priv.inc b/net-mgmt/pfSense-pkg-softflowd/files/etc/inc/priv/softflowd.priv.inc new file mode 100644 index 0000000..07de50d --- /dev/null +++ b/net-mgmt/pfSense-pkg-softflowd/files/etc/inc/priv/softflowd.priv.inc @@ -0,0 +1,32 @@ +<?php +/* + * softflowd.priv.inc + * + * part of pfSense (https://www.pfsense.org) + * Copyright (c) 2017 Rubicon Communications, LLC (Netgate) + * All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +global $priv_list; + +$priv_list['page-services-softflowd'] = array(); +$priv_list['page-services-softflowd']['name'] = "WebCfg - Services: softflowd package"; +$priv_list['page-services-softflowd']['descr'] = "Allow access to softflowd package GUI"; +$priv_list['page-services-softflowd']['match'] = array(); + +$priv_list['page-services-softflowd']['match'][] = "pkg.php?xml=softflowd.xml*"; +$priv_list['page-services-softflowd']['match'][] = "pkg_edit.php?xml=softflowd.xml*"; + +?> |