Summary | a Listing of Groups in the account Block would be nice |
Queue | Horde Base |
Queue Version | Git master |
Type | Enhancement |
State | Accepted |
Priority | 1. Low |
Owners | |
Requester | Klaus.Steinberger (at) physik (dot) uni-muenchen (dot) de |
Created | 02/02/2010 (5580 days ago) |
Due | |
Updated | 06/02/2011 (5095 days ago) |
Assigned | |
Resolved | |
Milestone | |
Patch | No |
Don't strip domain, cast params to array (Bug #8848).
3 files changed, 8 insertions(+), 4 deletions(-)
http://git.horde.org/horde-git/-/commit/a13466fc882f2f68aed3cd66dd8222836c611791
list the groups a user belong to. I starting point for a patch is
appended to this request. It works, but misses the localization, and
could be done probably nicer. It list first the number of groups a
user belongs to, and then line for line the groups.
In /lib/Block/Account/Base.php, group data could be read from backend
specified in $conf[group][driver], as suggested in the patch.
Further I found a little bug in lib/Block/Account.php:34
$params = array_merge(
$conf['accounts']['params'],
array('user' => $registry->getAuth('bare')));
I had changed the line to the following, because
var_dump($conf['accounts']['params']) gives NULL, when not set and
makes array_merge not to work:
$params = array_merge(
(array)$conf['accounts']['params'],
array('user' => $registry->getAuth()));
Further I removed 'bare', because it cutted of the domain-part of the
mailaddress.
Patch ⇒ No
Queue ⇒ Horde Base
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ a Listing of Groups in the accoun Block would be nice
Queue ⇒ Horde Groupware
Milestone ⇒
Patch ⇒ Yes
New Attachment: groups.patch
State ⇒ New
the groups a user belong to. I starting point for a patch is appended
to this request. It works, but misses the localization, and could be
done probably nicer. It list first the number of groups a user belongs
to, and then line for line the groups.