projects
/
Pman.MTrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
daad8aa
)
DataObjects/Person.php
author
Alan Knowles
<alan@roojs.com>
Thu, 19 Mar 2015 02:15:16 +0000
(10:15 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 19 Mar 2015 02:15:16 +0000
(10:15 +0800)
DataObjects/Person.php
patch
|
blob
|
history
diff --git
a/DataObjects/Person.php
b/DataObjects/Person.php
index
501d8df
..
ebb98b2
100644
(file)
--- a/
DataObjects/Person.php
+++ b/
DataObjects/Person.php
@@
-12,33
+12,7
@@
class Pman_MTrack_DataObjects_Person extends Pman_Core_DataObjects_Person
{
- function checkPerm($perm, $au)
- {
-
-
-
- // assume that this is correct..
- if (!$au ) {
- return false;
- }
- $ret = parent::checkPerm($perm,$au);
- if ($ret) {
- return $ret;
- }
- // at this point we need to determine should we allow access.
- // a touch risky...
- if ($perm == 'S') {
- return true;
- }
-
-
- // un-authenticated .. no access...
- return false;
-
-
-
-
- }
+
function applyFilters($q, $au, $roo)
{