From 6a2437aaf6432c57b668b6d0b988ee0f8a3919d9 Mon Sep 17 00:00:00 2001 From: edward Date: Mon, 15 Jan 2018 10:37:51 +0800 Subject: [PATCH] DataObjects/Events.php --- DataObjects/Events.php | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/DataObjects/Events.php b/DataObjects/Events.php index db9145b0..9c4569d1 100644 --- a/DataObjects/Events.php +++ b/DataObjects/Events.php @@ -107,13 +107,6 @@ class Pman_Core_DataObjects_Events extends DB_DataObject } */ - if (!$au->hasPerm("Admin.Admin_Tab", 'S') && !$au->hasPerm("BAdmin.BAdmin", '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; - - } // _join = tablename,tablename... /// on_table=cohead @@ -263,8 +256,11 @@ class Pman_Core_DataObjects_Events extends DB_DataObject } } - + function permission_filter() + { + + } /** * check who is trying to access this. false == access denied.. -- 2.39.2