projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6779ff
)
DataObjects/Events.php
author
Alan Knowles
<alan@roojs.com>
Thu, 6 Oct 2011 04:32:51 +0000
(12:32 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 6 Oct 2011 04:32:51 +0000
(12:32 +0800)
DataObjects/Events.php
patch
|
blob
|
history
diff --git
a/DataObjects/Events.php
b/DataObjects/Events.php
index
718d056
..
22d359f
100644
(file)
--- a/
DataObjects/Events.php
+++ b/
DataObjects/Events.php
@@
-62,6
+62,9
@@
class Pman_Core_DataObjects_Events extends DB_DataObject
*/
function checkPerm($lvl, $au)
{
+ if ($lvl == 'S') {
+ return true;
+ }
// listing is controleed by applyfilters..
return $lvl != 'S' && $au->hasPerm("Admin.Admin_Tab", 'S');
}