From: edward Date: Mon, 15 Jan 2018 02:39:42 +0000 (+0800) Subject: DataObjects/Events.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=71288aa279969c9639094615c99032e31385b9f0 DataObjects/Events.php --- diff --git a/DataObjects/Events.php b/DataObjects/Events.php index 6e34de99..0f4830b1 100644 --- a/DataObjects/Events.php +++ b/DataObjects/Events.php @@ -259,12 +259,11 @@ 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)"); // $this->person_id = $au->id; - } }