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

To let us create an ideas box on the intranet I need entries to be anonymous. But users may be logged in already, so their entry has to be anonimized.

Because creating a mini app with comment plugin is usually done with templates, it is preferable that an %ANONYMOUS% user setting can be passed in the comment template.

Caveats:

  • Func:saveTopic does not accept a user parameter
  • Store:saveTopic is not published API

AC

Hm, if you don't provide %WIKIUSERNAME% or use TWikiGuest or your %ANONYMOUS% setting as signature in your output template you get the desired effect, don't you?

FJ


Franz, no. TWiki still requires a user to be logged in to save a comment, and if they are logged in, then their name appears in the change log and page history. Arthur wants more anonymity than that.

If you can get the user object, then you can set $TWiki::Plugins::SESSION->{user}, after which Func::saveTopic will save as that user. On reflection, rather than %ANONYMOUS%, I think %AS_USER{"ArthurClemens"}% would be more intention-revealing.

Longer term, the Func API needs to be extended to support saving as an identified user. Something for the next generation FuncFourOneContrib, I guess.

CC

I see that this is a useful feature, but be careful, this breaks the "complete audit trail" model. If implemented it should be disabled by default, protected so that only admins can enable topic save as someone else (e.g. not possible to simply specify it in a comment template topic), and highlighted in big red letters in the documentation.

  • I don't agree completely. The effect on the topic history would be the same as on a TWiki installation that is set up with save enabled by TWikiGuests: you would get a revision list of TWikiGuests. -- AC
    • Most corporate sites do not have a guest account because of audit trail. The CommenPlugin is a pre-installed Plugin, so a save-as-someone-else feature should be disabled by default. It could be enabled if needed, such as with an {allowAnonymousSave} switch or an ALLOWANONYMOUSSAVE Plugin setting. -- PTh
    • I think I misunderstand "complete audit trail". Not important. -- AC

-- PTh

ItemTemplate
Summary Allow CommentPlugin to save entries anonymously
ReportedBy TWiki:Main.ArthurClemens
Codebase

SVN Range Wed, 12 Jul 2006 build 11001
AppliesTo Engine
Component

Priority Enhancement
CurrentState New
WaitingFor

Checkins

TargetRelease n/a
Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2006-07-20 - ArthurClemens
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback