Skip to content

Commit

Permalink
[jan] Don't show ACL context menu if ACL preferences are locked.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jun 10, 2015
1 parent 0c5c958 commit 3590000
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions imp/lib/Dynamic/Mailbox.php
Expand Up @@ -411,6 +411,11 @@ protected function _addMailboxVars()
$context['ctx_mbox']['search']
);
}
if ($prefs->isLocked('acl')) {
unset(
$context['ctx_mbox']['_sub2']
);
}

/* Other Actions context menu. */
$context['ctx_oa'] = array(
Expand Down
2 changes: 2 additions & 0 deletions imp/package.xml
Expand Up @@ -33,6 +33,7 @@
</stability>
<license uri="http://www.horde.org/licenses/gpl">GPL-2.0</license>
<notes>
* [jan] Don&apos;t show ACL context menu if ACL preferences are locked.
* [jan] Fix redirecting in smartmobile mode (Bug #14002).
* [jan] Fix address autocompletion in redirection window of smartmobile mode (Bug #14002).
* [jan] Fix setting single recipients in redirection window in basic mode (Bug #14002).
Expand Down Expand Up @@ -3848,6 +3849,7 @@
<date>2015-04-28</date>
<license uri="http://www.horde.org/licenses/gpl">GPL-2.0</license>
<notes>
* [jan] Don&apos;t show ACL context menu if ACL preferences are locked.
* [jan] Fix redirecting in smartmobile mode (Bug #14002).
* [jan] Fix address autocompletion in redirection window of smartmobile mode (Bug #14002).
* [jan] Fix setting single recipients in redirection window in basic mode (Bug #14002).
Expand Down

0 comments on commit 3590000

Please sign in to comment.