From 0188e2bd333a627ab4c2d1077765ed8bc30c26af Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 11 Oct 2010 07:23:15 +0000 Subject: [PATCH] Updated ACL definitions git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19960 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../personal/groupware/class_Groupware.inc | 34 +++++++++---------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/gosa-plugins/groupware/personal/groupware/class_Groupware.inc b/gosa-plugins/groupware/personal/groupware/class_Groupware.inc index 907a09ab0..96ff20891 100644 --- a/gosa-plugins/groupware/personal/groupware/class_Groupware.inc +++ b/gosa-plugins/groupware/personal/groupware/class_Groupware.inc @@ -19,23 +19,23 @@ */ # Access constants -define ("LOOKUP", 1); -define ("READ", 2); -define ("STATUS", 4); -define ("WRITE", 8); -define ("INSERT", 16); -define ("POST", 32); -define ("CREATE", 64); -define ("DELETE", 128); -define ("ADMINISTRATE", 256); - - -define ("RIGHTS_NONE", 0); -define ("RIGHTS_READ", LOOKUP | READ | STATUS); -define ("RIGHTS_POST", RIGHTS_READ | POST); -define ("RIGHTS_APPEND", RIGHTS_POST | INSERT); -define ("RIGHTS_WRITE", RIGHTS_APPEND | WRITE | CREATE | DELETE); -define ("RIGHTS_ALL", RIGHTS_WRITE | ADMINISTRATE); +define ("GROUPWARE_LOOKUP", 1); +define ("GROUPWARE_READ", 2); +define ("GROUPWARE_STATUS", 4); +define ("GROUPWARE_WRITE", 8); +define ("GROUPWARE_INSERT", 16); +define ("GROUPWARE_POST", 32); +define ("GROUPWARE_CREATE", 64); +define ("GROUPWARE_DELETE", 128); +define ("GROUPWARE_ADMINISTRATE", 256); + + +define ("GROUPWARE_RIGHTS_NONE", 0); +define ("RIGHTS_GROUPWARE_READ", GROUPWARE_LOOKUP | GROUPWARE_READ | GROUPWARE_STATUS); +define ("RIGHTS_GROUPWARE_POST", RIGHTS_GROUPWARE_READ | GROUPWARE_POST); +define ("GROUPWARE_RIGHTS_APPEND", RIGHTS_GROUPWARE_POST | GROUPWARE_INSERT); +define ("RIGHTS_GROUPWARE_WRITE", GROUPWARE_RIGHTS_APPEND | GROUPWARE_WRITE | GROUPWARE_CREATE | GROUPWARE_DELETE); +define ("GROUPWARE_RIGHTS_ALL", RIGHTS_GROUPWARE_WRITE | GROUPWARE_ADMINISTRATE); -- 2.30.2