• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item5958: GROUPS does not respect HideUserDetails

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Urgent No Action Required   n/a  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


It should return the empty string if HideUserDetails is set.

Here's a patch for all that need this fix fast:

--- TWiki.pm    (revision 17427)
+++ TWiki.pm    (working copy)
@@ -3984,6 +3984,8 @@
 sub GROUPS {
     my ( $this, $params ) = @_;

+    return '' if $TWiki::cfg{AntiSpam}{HideUserDetails} && !$this->{users}->isAdmin( $this->{user} );
     my $groups = $this->{users}->eachGroup();
     my @table;
     while( $groups->hasNext() )

-- TWiki:Main/MichaelDaum - 25 Aug 2008

For what it's worth, I have tested and confirmed that %GROUPS% tag only displays groups and users for which the user has view permissions.

-- TWiki:Main.LynnwoodBrown - 25 Aug 2008

I am not sure I understand the original bug report.

The HideUserDetails is supposed to hide things like the users email address etc when using USERINFO. Not the users WikiName. And that is all the GROUPS show.

I am close to no action this.

-- TWiki:Main.KennethLavrsen - 18 Sep 2008

No action is the answer it seems

-- KennethLavrsen - 06 Oct 2008

Summary GROUPS does not respect HideUserDetails
ReportedBy TWiki:Main.MichaelDaum

SVN Range TWiki-5.0.0, Mon, 18 Aug 2008, build 17431
AppliesTo Engine

Priority Urgent
CurrentState No Action Required


TargetRelease n/a

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2008-10-06 - KennethLavrsen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback