summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/defines.inc.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-07-02 11:59:49 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2008-07-02 11:59:49 +0000
commit8dffbd722749472d9704f6d5d5547f83f738198c (patch)
treedaa3d0f4378832810847317824eb6b42a7e1e047 /frontends/php/include/defines.inc.php
parent9158473c0884eabb4877274af46d3991cb6ed854 (diff)
- [DEV-144] add possibility to force user groups to authenticate internally (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5810 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/defines.inc.php')
-rw-r--r--frontends/php/include/defines.inc.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/frontends/php/include/defines.inc.php b/frontends/php/include/defines.inc.php
index 122fbb2b..7176620a 100644
--- a/frontends/php/include/defines.inc.php
+++ b/frontends/php/include/defines.inc.php
@@ -32,7 +32,7 @@
define('PAGE_TYPE_HTML_BLOCK', 4); //simple block of html (as text)
define('ZBX_LOGIN_ATTEMPTS', 5);
- define('ZBX_LOGIN_BLOCK', 30);
+ define('ZBX_LOGIN_BLOCK', 30); // sec
define('ZBX_SESSION_ACTIVE', 0);
define('ZBX_SESSION_PASSIVE', 1);
@@ -347,8 +347,11 @@
define('GROUP_STATUS_DISABLED', 1);
define('GROUP_STATUS_ENABLED', 0);
- define('GROUP_GUI_ACCESS_DISABLED', 1);
- define('GROUP_GUI_ACCESS_ENABLED', 0);
+// IMPORTANT!!! by priority DESC
+ define('GROUP_GUI_ACCESS_SYSTEM', 0);
+ define('GROUP_GUI_ACCESS_INTERNAL', 1);
+ define('GROUP_GUI_ACCESS_DISABLED', 2);
+
define('PERM_MAX', 3);
define('PERM_READ_WRITE', 3);