[Tickets #14025] ActiveSync AlphanumericDevicePasswordRequired permission not saved
noreply at bugs.horde.org
noreply at bugs.horde.org
Wed Jun 24 08:14:54 UTC 2015
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: https://bugs.horde.org/ticket/14025
------------------------------------------------------------------------------
Ticket | 14025
Created By | marc.cheptea at spamina.com
Summary | ActiveSync AlphanumericDevicePasswordRequired
| permission not saved
Queue | Horde Groupware Webmail Edition
Version | 5.2.3
Type | Bug
State | Unconfirmed
Priority | 1. Low
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
marc.cheptea at spamina.com (2015-06-24 08:14) wrote:
The "horde:activesync:provisioning:AlphanumericDevicePasswordRequired"
permission allows 3 possible values [0,1,2].
When saving a group or user with the option [0] the group/user is not
saved. The other options [1,2] are saved properly.
I was able to reproduce this bug on the 'horde/admin/perms/' view and
trough an API I am currently building for Horde. For the API I am
using the Horde_Perms class to handle/persist the permissions.
I tested this issue in Horde 5.2.3. However after looking at the
source code for on GitHub
(https://github.com/horde/horde/blob/3aff0b0dfcfb190e307b3dc01edfa87d4baaacc9/horde/lib/Application.php#L241) I think this problem still exists in the latest
version.
The problem I think is caused by the zero [0], which is treated by the
permission class as false/null. Which in turn determines the
group/user not to be persisted in the permission.
More information about the bugs
mailing list