From 204e6c651463d528a938825ca903cffc065697ea Mon Sep 17 00:00:00 2001 From: skeeter Date: Tue, 20 Mar 2001 03:33:02 +0000 Subject: [PATCH] This now places the current user into the global grants variable --- calendar/inc/functions.inc.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/calendar/inc/functions.inc.php b/calendar/inc/functions.inc.php index 19f6c298bb..2062a6757b 100755 --- a/calendar/inc/functions.inc.php +++ b/calendar/inc/functions.inc.php @@ -37,6 +37,7 @@ { $owner = $phpgw_info['user']['account_id']; $rights = PHPGW_ACL_READ + PHPGW_ACL_ADD + PHPGW_ACL_EDIT + PHPGW_ACL_DELETE + PHPGW_ACL_PRIVATE; + $grants[$owner] = $rights; } else { @@ -47,12 +48,14 @@ { $owner = $phpgw_info['user']['account_id']; $rights = PHPGW_ACL_READ + PHPGW_ACL_ADD + PHPGW_ACL_EDIT + PHPGW_ACL_DELETE + PHPGW_ACL_PRIVATE; + $grants[$owner] = $rights; } } else { $owner = $phpgw_info['user']['account_id']; $rights = PHPGW_ACL_READ + PHPGW_ACL_ADD + PHPGW_ACL_EDIT + PHPGW_ACL_DELETE + PHPGW_ACL_PRIVATE; + $grants[$owner] = $rights; } }