X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=DataObjects%2FEvents.php;h=0f4830b189b4d6cf5f1076239dbd71fa67eb0233;hp=cdb37a06cf0b2328069ad3ced26e79b82d778f5f;hb=1e602542e248e4bc93fa26240ad97c37300709d7;hpb=ea8ee8e3c20d8e8c821395e2053ae152f93b4433 diff --git a/DataObjects/Events.php b/DataObjects/Events.php index cdb37a06..0f4830b1 100644 --- a/DataObjects/Events.php +++ b/DataObjects/Events.php @@ -259,7 +259,7 @@ class Pman_Core_DataObjects_Events extends DB_DataObject function applyPermissionFilters($q, $au ,$roo) { - if (!$au->hasPerm("Admin.Admin_Tab", 'S') && !$au->hasPerm("BAdmin.BAdmin", 'S')) { + if (!$au->hasPerm("Admin.Admin_Tab", 'S')) { //DB_DataObject::DebugLevel(1); // they can only view their changes.. $this->whereAdd("($tn.person_id = {$au->id} OR $tn.person_id = 0)");