6.0.0-alpha10
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
5/15/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#8848] a Listing of Groups in the account Block would be nice
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .___..__..__ . . [__) _/ | || \| | [__)./__.|__||__/|__|
Comment
>> It would be nice if the "My Account Information" Block would also >> 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. > > I would really like this feature, too. > > 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.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers