projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8444a28
)
DataObjects/Events.php
author
edward
<edward@roojs.com>
Mon, 15 Jan 2018 02:37:51 +0000
(10:37 +0800)
committer
edward
<edward@roojs.com>
Mon, 15 Jan 2018 02:37:51 +0000
(10:37 +0800)
DataObjects/Events.php
patch
|
blob
|
history
diff --git
a/DataObjects/Events.php
b/DataObjects/Events.php
index
db9145b
..
9c4569d
100644
(file)
--- 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
// _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..
/**
* check who is trying to access this. false == access denied..