diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-02-07 11:09:09 -0200 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-02-07 11:15:10 -0200 |
commit | a8cb003844c8feda083925415d9cfc96d5f3827f (patch) | |
tree | 14ae704fd9fb090f69ddfa44ec7647413d4f46d5 /etc/inc/priv/user.priv.inc | |
parent | 060bc78b02232484a089349a26ecee4e5bc72429 (diff) | |
download | pfsense-a8cb003844c8feda083925415d9cfc96d5f3827f.zip pfsense-a8cb003844c8feda083925415d9cfc96d5f3827f.tar.gz |
Implement privilege for allowing login through CP
- The feature is optional, on by default for new zones, off for current
ones when upgrading
It should fix #1010
Diffstat (limited to 'etc/inc/priv/user.priv.inc')
-rw-r--r-- | etc/inc/priv/user.priv.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/etc/inc/priv/user.priv.inc b/etc/inc/priv/user.priv.inc index 7c943cd..0b94688 100644 --- a/etc/inc/priv/user.priv.inc +++ b/etc/inc/priv/user.priv.inc @@ -2,6 +2,10 @@ global $priv_list; +$priv_list['user-services-captiveportal-login'] = array(); +$priv_list['user-services-captiveportal-login']['name'] = gettext("User - Services - Captive portal login"); +$priv_list['user-services-captiveportal-login']['descr'] = gettext("Indicates whether the user is able to login on the captive portal."); + $priv_list['page-help-all'] = array(); $priv_list['page-help-all']['name'] = "WebCfg - Help pages"; $priv_list['page-help-all']['descr'] = "Show all items on help menu"; @@ -67,4 +71,4 @@ $priv_list['user-pppoe-dialin'] = array(); $priv_list['user-pppoe-dialin']['name'] = "User - VPN - PPPOE Dialin"; $priv_list['user-pppoe-dialin']['descr'] = "Indicates whether the user is allowed to dial in via PPPOE"; -?>
\ No newline at end of file +?> |