This now places the current user into the global grants variable

This commit is contained in:
skeeter 2001-03-20 03:33:02 +00:00
parent fc023e192f
commit 204e6c6514

View File

@ -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;
}
}