[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] news_admin/inc class.boacl.inc.php
From: |
Dave Hall |
Subject: |
[Phpgroupware-cvs] news_admin/inc class.boacl.inc.php |
Date: |
Thu, 28 Dec 2006 04:55:37 +0000 |
CVSROOT: /sources/phpgroupware
Module name: news_admin
Changes by: Dave Hall <skwashd> 06/12/28 04:55:37
Modified files:
inc : class.boacl.inc.php
Log message:
notice
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/news_admin/inc/class.boacl.inc.php?cvsroot=phpgroupware&r1=1.4&r2=1.5
Patches:
Index: class.boacl.inc.php
===================================================================
RCS file: /sources/phpgroupware/news_admin/inc/class.boacl.inc.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- class.boacl.inc.php 19 Aug 2006 13:38:26 -0000 1.4
+++ class.boacl.inc.php 28 Dec 2006 04:55:36 -0000 1.5
@@ -9,7 +9,7 @@
* option) any later version.
*
\**************************************************************************/
- /* $Id: class.boacl.inc.php,v 1.4 2006/08/19 13:38:26 skwashd Exp $ */
+ /* $Id: class.boacl.inc.php,v 1.5 2006/12/28 04:55:36 skwashd Exp $ */
/**
* Access Controls class
@@ -46,8 +46,12 @@
*/
function is_permitted($cat_id, $right)
{
+ if ( isset($this->_permissions["L{$cat_id}"]) )
+ {
return !! ($this->_permissions['L'.$cat_id] & $right);
}
+ return false;
+ }
/**
* Checks to see if the user has read access to a category
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] news_admin/inc class.boacl.inc.php,
Dave Hall <=