Tags:
create new tag
view all tags

Question

I wanted to create a template to be used for creating new topics such that only the user who created the topic can view it. (Say a feedback on something). I created a template with the line:

* Set ALLOWTOPICVIEW = %WIKINAME%

But the users are not able to create the topic because the permission does not allow them to view their own topic!

I have a simpler example in TestPageOfChengappa where I have given the edit permission to you (ChengappaCB ) using %WIKINAME% but nobody is able to edit it. How do I solve this ?

Environment

TWiki version: TWikiRelease04x01x02
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows 2003
Web server: Apache 1.3.39
Perl version: 5.008008 (cygwin)
Client OS: Windows XP
Web Browser: IE 6
Categories: Permissions

-- ChengappaCB - 10 Sep 2008

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

Hi,

I think you can try this:

   * Set ALLOWTOPICVIEW = %USERWEBS%.%WIKINAME%  

-- AlexeyOzerov - 10 Sep 2008

I have already tried it. No luck frown

-- ChengappaCB - 11 Sep 2008

You can't set a preference with a variable.

ALLOWTOPICVIEW needs a list of users and/or user groups.

-- SeanCMorgan - 12 Sep 2008

My apologies for re-opening the question. But is there a way to make a template to be used for creating new topics such that only the user who created the topic can view it ?

-- ChengappaCB - 16 Sep 2008

Setting this in the template topic should work:

   * Set ALLOWTOPICVIEW = %WIKIUSERNAME%

-- PeterThoeny - 06 Nov 2008

Change status to:
Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2008-11-06 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.