projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9eae410
)
Grant Horde admins permissions to at least view all contexts. This ensures the permi...
author
Ben Klang
<ben@alkaloid.net>
Tue, 31 Jan 2006 03:24:28 +0000
(
03:24
+0000)
committer
Ben Klang
<ben@alkaloid.net>
Tue, 31 Jan 2006 03:24:28 +0000
(
03:24
+0000)
expected.
git-svn-id: https://svn.alkaloid.net/gpl/shout/trunk@280
06cd67b6
-e706-0410-b29e-
9de616bca6e9
lib/Shout.php
patch
|
blob
|
history
diff --git
a/lib/Shout.php
b/lib/Shout.php
index
5c6bfa4
..
2021e42
100644
(file)
--- a/
lib/Shout.php
+++ b/
lib/Shout.php
@@
-158,6
+158,8
@@
class Shout
*/
function checkRights($permname, $permmask = null, $numparents = 0)
{
+ if (Auth::isAdmin()) { return true; }
+
$perms = Perms::singleton();
if ($permmask === null) {
$permmask = PERMS_SHOW|PERMS_READ;