mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add missing priviledge checks to the bridge pages.
This commit is contained in:
parent
4da0e32a72
commit
ea9828af72
@ -28,6 +28,13 @@
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
##|+PRIV
|
||||
##|*IDENT=page-interfaces-bridge
|
||||
##|*NAME=Interfaces: Bridge page
|
||||
##|*DESCR=Allow access to the 'Interfaces: Bridge' page.
|
||||
##|*MATCH=interfaces_bridge.php*
|
||||
##|-PRIV
|
||||
|
||||
require("guiconfig.inc");
|
||||
|
||||
if (!is_array($config['bridges']['bridged']))
|
||||
|
||||
@ -28,6 +28,13 @@
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
##|+PRIV
|
||||
##|*IDENT=page-interfaces-bridge-edit
|
||||
##|*NAME=Interfaces: Bridge edit page
|
||||
##|*DESCR=Allow access to the 'Interfaces: Bridge : Edit' page.
|
||||
##|*MATCH=interfaces_bridge_edit.php*
|
||||
##|-PRIV
|
||||
|
||||
require("guiconfig.inc");
|
||||
|
||||
if (!is_array($config['bridges']['bridged']))
|
||||
|
||||
Loading…
Reference in New Issue
Block a user