[Tickets #13248] horde-remove-user-data bails out if groups are read-only

noreply at bugs.horde.org noreply at bugs.horde.org
Thu Jun 5 09:53:46 UTC 2014


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/13248
------------------------------------------------------------------------------
  Ticket             | 13248
  Created By         | skhorde at smail.inf.fh-bonn-rhein-sieg.de
  Summary            | horde-remove-user-data bails out if groups are
                     | read-only
  Queue              | Horde Groupware
  Version            | 5.1.4
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              | 1
  Owners             |
------------------------------------------------------------------------------


skhorde at smail.inf.fh-bonn-rhein-sieg.de (2014-06-05 09:53) wrote:

If you setup Horde to use LDAP groups (maybe any other as well), but  
does not allow write access, then you try to remove user data via  
horde-remove-user-data, the script fails with a fatal error from  
horde/lib/Application.php around line 154.

Attached patch skips the removal of group memberships if  
$GLOBALS['injector']->getInstance('Horde_Group') returns an object  
that is read-only, aka $groups->readOnly() returns true.



skhorde at smail.inf.fh-bonn-rhein-sieg.de (2014-06-05 09:53) uploaded:  
h5_removeUserData-from-ro-LDAP-Group.diff.bz2

http://bugs.horde.org/h/services/download/?app=whups&actionID=download_file&file=h5_removeUserData-from-ro-LDAP-Group.diff.bz2&ticket=13248&fn=%2Fh5_removeUserData-from-ro-LDAP-Group.diff.bz2





More information about the bugs mailing list