fmsystem-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Fmsystem-commits] [11158] controller: acl


From: Sigurd Nes
Subject: [Fmsystem-commits] [11158] controller: acl
Date: Fri, 07 Jun 2013 11:52:23 +0000

Revision: 11158
          http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=11158
Author:   sigurdne
Date:     2013-06-07 11:52:22 +0000 (Fri, 07 Jun 2013)
Log Message:
-----------
controller: acl

Modified Paths:
--------------
    trunk/controller/inc/class.uicase.inc.php
    trunk/controller/inc/class.uicheck_list.inc.php

Modified: trunk/controller/inc/class.uicase.inc.php
===================================================================
--- trunk/controller/inc/class.uicase.inc.php   2013-06-07 09:23:07 UTC (rev 
11157)
+++ trunk/controller/inc/class.uicase.inc.php   2013-06-07 11:52:22 UTC (rev 
11158)
@@ -97,10 +97,10 @@
       
             $this->location_finder          = new location_finder();
 
-                       $this->read    = 
$GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_READ, 'controller');//1 
-                       $this->add     = 
$GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_ADD, 'controller');//2 
-                       $this->edit    = 
$GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_EDIT, 'controller');//4 
-                       $this->delete  = 
$GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_DELETE, 'controller');//8 
+                       $this->read    = 
$GLOBALS['phpgw']->acl->check('.checklist', PHPGW_ACL_READ, 'controller');//1 
+                       $this->add     = 
$GLOBALS['phpgw']->acl->check('.checklist', PHPGW_ACL_ADD, 'controller');//2 
+                       $this->edit    = 
$GLOBALS['phpgw']->acl->check('.checklist', PHPGW_ACL_EDIT, 'controller');//4 
+                       $this->delete  = 
$GLOBALS['phpgw']->acl->check('.checklist', PHPGW_ACL_DELETE, 'controller');//8 
                }       
                
         function add_case()

Modified: trunk/controller/inc/class.uicheck_list.inc.php
===================================================================
--- trunk/controller/inc/class.uicheck_list.inc.php     2013-06-07 09:23:07 UTC 
(rev 11157)
+++ trunk/controller/inc/class.uicheck_list.inc.php     2013-06-07 11:52:22 UTC 
(rev 11158)
@@ -96,10 +96,10 @@
 
                        $this->acl_location = '.control';
 
-                       $this->read     = 
$GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_READ, 'controller');//1 
-                       $this->add       = 
$GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_ADD, 'controller');//2 
-                       $this->edit     = 
$GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_EDIT, 'controller');//4 
-                       $this->delete  = 
$GLOBALS['phpgw']->acl->check('.control', PHPGW_ACL_DELETE, 'controller');//8 
+                       $this->read     = 
$GLOBALS['phpgw']->acl->check('.checklist', PHPGW_ACL_READ, 'controller');//1 
+                       $this->add       = 
$GLOBALS['phpgw']->acl->check('.checklist', PHPGW_ACL_ADD, 'controller');//2 
+                       $this->edit     = 
$GLOBALS['phpgw']->acl->check('.checklist', PHPGW_ACL_EDIT, 'controller');//4 
+                       $this->delete  = 
$GLOBALS['phpgw']->acl->check('.checklist', PHPGW_ACL_DELETE, 'controller');//8 
 
                        
self::set_active_menu('controller::control::check_list');
                }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]