Skip to content

Commit

Permalink
[jan] Give administrators access to all groups, even with $conf['shar…
Browse files Browse the repository at this point in the history
…e']['any_group'] disabled.
  • Loading branch information
yunosh committed Jun 15, 2015
1 parent 402f484 commit 7912d2d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Expand Up @@ -28,7 +28,8 @@ public function listGroups()
try {
$groups = $GLOBALS['injector']
->getInstance('Horde_Group')
->listAll(empty($GLOBALS['conf']['share']['any_group'])
->listAll(empty($GLOBALS['conf']['share']['any_group']) &&
!$GLOBALS['registry']->isAdmin()
? $GLOBALS['registry']->getAuth()
: null);
if ($groups) {
Expand Down
4 changes: 2 additions & 2 deletions framework/Core/package.xml
Expand Up @@ -39,7 +39,7 @@
</stability>
<license uri="http://www.horde.org/licenses/lgpl21">LGPL-2.1</license>
<notes>
*
* [jan] Give administrators access to all groups, even with $conf[&apos;share&apos;][&apos;any_group&apos;] disabled.
</notes>
<contents>
<dir baseinstalldir="/" name="/">
Expand Down Expand Up @@ -3963,7 +3963,7 @@
<date>2015-06-11</date>
<license uri="http://www.horde.org/licenses/lgpl21">LGPL-2.1</license>
<notes>
*
* [jan] Give administrators access to all groups, even with $conf[&apos;share&apos;][&apos;any_group&apos;] disabled.
</notes>
</release>
</changelog>
Expand Down

0 comments on commit 7912d2d

Please sign in to comment.