[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [8442] property: moderate check on acl
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [8442] property: moderate check on acl |
Date: |
Tue, 27 Dec 2011 12:05:18 +0000 |
Revision: 8442
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=8442
Author: sigurdne
Date: 2011-12-27 12:05:17 +0000 (Tue, 27 Dec 2011)
Log Message:
-----------
property: moderate check on acl
Modified Paths:
--------------
trunk/property/inc/class.uiproject.inc.php
Modified: trunk/property/inc/class.uiproject.inc.php
===================================================================
--- trunk/property/inc/class.uiproject.inc.php 2011-12-27 11:55:56 UTC (rev
8441)
+++ trunk/property/inc/class.uiproject.inc.php 2011-12-27 12:05:17 UTC (rev
8442)
@@ -1958,12 +1958,11 @@
}
}
-
function bulk_update_status()
{
- if(!$this->acl->check('.project', PHPGW_ACL_PRIVATE,
'property'))//manage
+ if(!$this->acl_edit))
{
-
$GLOBALS['phpgw']->redirect_link('/index.php',array('menuaction'=>
'property.uilocation.stop', 'perm'=>PHPGW_ACL_PRIVATE,
'acl_location'=>$this->acl_location));
+
$GLOBALS['phpgw']->redirect_link('/index.php',array('menuaction'=>
'property.uilocation.stop', 'perm'=>PHPGW_ACL_EDIT,
'acl_location'=>$this->acl_location));
}
$GLOBALS['phpgw_info']['flags']['menu_selection'] .=
'::project_bulk_update_status';
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [8442] property: moderate check on acl,
Sigurd Nes <=