• 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.

Hi,

I'm searching for something like AntonAylward tell in Item680.

I need to know if an user is member of a group, but groups can have groups inside and it must be tested.

I'm proposing the memberof operator for the %IF% variable.

Use:
%IF{ "$'WIKINAME' memberof TWikiAdminGroup" then="How Powerful!" else="Only more one ordinary user." }%

I think it is more clear and easy. And very useful! smile

ItemTemplate
Summary %IF%'s memberof Operator
ReportedBy TWiki:Main.AurelioAHeckert
Codebase ~twiki4
SVN Range TWiki-4.1, Fri, 08 Sep 2006, build 11436
AppliesTo Engine
Component

Priority Enhancement
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r2 - 2006-09-09 - AurelioAHeckert
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback