Tags:
create new tag
view all tags

SID-01718: How to post comment if the user has only view permission?

Status: Answered Answered TWiki version: 5.1.3 Perl version: 5.10.1
Category: CategoryAccessControl Server OS: CentOs 6.3 Last update: 12 years ago

Hi Team,

I have created one web to store all confedential details, in that user can set permission for edit and view. But when the user has only view permission for topic then he is not able to post a comment on topic. If the permission is change from view to edit then he is able to post comment.

I want to set post comment permission for viewers also, is any plugin available for this?

Thanks, Madhuri

-- Madhuri Yevale - 2013-06-04

Discussion and Answer

I am confused, I think you answered your own question. You said "If the permission is change from view to edit then he is able to post comment." , and then asked how to 'set post comment permissions for viewers'.

Please rephrase your question and I might be able to provide more insight.

-- James DiDonato - 2013-06-04

If user has only view permission for topic then he is not able to post comment, it shows access denied message.

-- Madhuri Yevale - 2013-06-05

I think the question can be rephrased like this...

Is there a way to allow users to post comments to topics without also giving them full edit permissions?

-- Joshua Tharp - 2013-06-05

yes..its right..

-- Madhuri Yevale - 2013-06-06

You can INCLUDE a comment topic per topic you have. For example, a FooBar topic might have a FooBarComments topic. The latter one is included at the end of the former topic. You can use the CommentPlugin to post to a topic different of the current one. The TWiki.org Blog application uses this approach.

Because you have different topics you can impose different access restrictions to article topics and comment topics.

-- Peter Thoeny - 2013-06-06

I have installed the CommentPlugin to post comment. The %COMMENT{target="%TOPIC%" button="Add comment"}% macro shows the comment box in topic bottom section. But when I set permission for topic it automatically efective for comment also.

After setting only view permisssion for topic, user not able to post comment. Is I am doing any wrong way?

-- Madhuri Yevale - 2013-06-06

As I mentioned you need to post the comment to an included topic. That way you can define different access control settings for article topic and comment topic.

-- Peter Thoeny - 2013-06-06

      Change status to:
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.
SupportForm
Status Answered
Title How to post comment if the user has only view permission?
SupportCategory CategoryAccessControl
TWiki version 5.1.3
Server OS CentOs 6.3
Web server Apache 2.2.15
Perl version 5.10.1
Browser & version Firefox 20
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2013-06-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.