summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/defines.inc.php
diff options
context:
space:
mode:
authorartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-10-22 14:26:35 +0000
committerartem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-10-22 14:26:35 +0000
commit8586918ae51297d8be70ff360a8cac4d58f593eb (patch)
tree0defc400008c8db04b8169b6bf7412a2afc47640 /frontends/php/include/defines.inc.php
parenta3881a9c2fbc9e6a58bfeadbccba819979d94937 (diff)
downloadzabbix-8586918ae51297d8be70ff360a8cac4d58f593eb.tar.gz
zabbix-8586918ae51297d8be70ff360a8cac4d58f593eb.tar.xz
zabbix-8586918ae51297d8be70ff360a8cac4d58f593eb.zip
- [DEV-48] merged rev. 4890:4891 of branches/1.4.j/ (Artem) [added scripts form,scripts list, script call menu]
git-svn-id: svn://svn.zabbix.com/trunk@4893 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/defines.inc.php')
-rw-r--r--frontends/php/include/defines.inc.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/frontends/php/include/defines.inc.php b/frontends/php/include/defines.inc.php
index 55bf5699..3c7658d1 100644
--- a/frontends/php/include/defines.inc.php
+++ b/frontends/php/include/defines.inc.php
@@ -104,6 +104,7 @@
define('AUDIT_RESOURCE_SCENARIO', 22);
define('AUDIT_RESOURCE_DISCOVERY_RULE', 23);
define('AUDIT_RESOURCE_SLIDESHOW', 24);
+ define('AUDIT_RESOURCE_SCRIPT', 25);
define('CONDITION_TYPE_HOST_GROUP', 0);
define('CONDITION_TYPE_HOST', 1);
@@ -330,6 +331,9 @@
define('PERM_READ_ONLY', 2);
define('PERM_READ_LIST', 1);
define('PERM_DENY', 0);
+
+ define('SCRIPT_HOST_ACCESS_READ', 0);
+ define('SCRIPT_HOST_ACCESS_WRITE', 1);
define('PERM_RES_STRING_LINE', 0); /* return string of nodes id - '1,2,3,4,5' */
define('PERM_RES_IDS_ARRAY', 1); /* return array of nodes id - array(1,2,3,4) */