Summary | Unable to set maxmium number of forward recipients |
Queue | Ingo |
Queue Version | 3.2.1 |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | slusarz (at) horde (dot) org |
Requester | lukas.weiss (at) raiffeisen (dot) it |
Created | 09/15/2014 (3945 days ago) |
Due | |
Updated | 09/17/2014 (3943 days ago) |
Assigned | |
Resolved | 09/17/2014 (3943 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
Assigned to Michael Slusarz
State ⇒ Resolved
commit a5cfa8c5bdc6e839de423dba60f835e63ead325e
Author: Michael M Slusarz <slusarz@horde.org>
Date: Wed Sep 17 01:58:13 2014 -0600
[mms] Fix checking the 'max_forward' permission (
Bug #13568).Conflicts:
ingo/docs/CHANGES
ingo/package.xml
ingo/docs/CHANGES | 1 +
ingo/lib/Perms.php | 1 +
ingo/package.xml | 1 +
3 files changed, 3 insertions(+), 0 deletions(-)
http://github.com/horde/horde/commit/a5cfa8c5bdc6e839de423dba60f835e63ead325e
commit b1d01c187a00dd5fef7875d79a893dbf3df6b815
Author: Michael M Slusarz <slusarz@horde.org>
Date: Wed Sep 17 01:58:13 2014 -0600
[mms] Fix checking the 'max_forward' permission (
Bug #13568).ingo/docs/CHANGES | 1 +
ingo/lib/Perms.php | 1 +
ingo/package.xml | 2 ++
3 files changed, 4 insertions(+), 0 deletions(-)
http://github.com/horde/horde/commit/b1d01c187a00dd5fef7875d79a893dbf3df6b815
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Queue ⇒ Ingo
Summary ⇒ Unable to set maxmium number of forward recipients
Type ⇒ Bug
State ⇒ Unconfirmed
if i set the maxmium number of forward recipients in the app
permissions, the setting is ignored. this is becaue the app permissions
are returned as an array, but they are then used as an integer:
$max =
$GLOBALS['injector']->getInstance('Horde_Core_Perms')->hasAppPermission(Ingo_Perms::getPerm('max_forward'));
// array (size=1)
// 0 => string '15' (length=2)
..
if ($addr_count > $max) {
..
also, it would be great, if the exception this function throws, would
be catched and returned as a notification.
thank you!