projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0943e6c
)
Check permissions against the underlaying turba driver, not the share.
author
Michael J. Rubinsky
<mrubinsk@horde.org>
Mon, 5 Oct 2009 22:06:12 +0000
(18:06 -0400)
committer
Michael J. Rubinsky
<mrubinsk@horde.org>
Mon, 5 Oct 2009 22:07:23 +0000
(18:07 -0400)
turba/lib/Driver/Vbook.php
patch
|
blob
|
history
diff --git
a/turba/lib/Driver/Vbook.php
b/turba/lib/Driver/Vbook.php
index
6cc22d3
..
7dbd222
100644
(file)
--- a/
turba/lib/Driver/Vbook.php
+++ b/
turba/lib/Driver/Vbook.php
@@
-140,10
+140,7
@@
class Turba_Driver_Vbook extends Turba_Driver
*/
function hasPermission($perm)
{
- if ($this->_share->hasPermission(Horde_Auth::getAuth(), $perm)) {
- return $perm & (PERMS_SHOW | PERMS_READ);
- }
- return false;
+ return $this->_driver->hasPermission($perm);
}
}