I've search in the issue queue and found no specific answer for the problem. I want anonymous users to be able to ask questions without being able to see the answer field (this happens when i give them both "ask" and "Manage" permissions). Is there a quick fix for this issue?

Comments

tanoshimi’s picture

There shouldn't be any answer field on the "Ask Question" page... can you attach a screenshot or give the URL where this appears?

lameei’s picture

The site is on local host. With giving the anonymous user role the "ask" right Anonymous users are not authorized to ask questions so i have to give them the "manage" right and it causes the answer field to show up. Am I missing something on the user rights?

tanoshimi’s picture

Granting the 'ask questions' permission allows users to access the node at http://localhost/question, which only contains two fields - Name, and Question. There is no Answer field on this page for any user.

Granting the 'manage questions' right allows site administrators to view the list of submitted questions and answer them, at which point they become nodes on the site.

If this doesn't match the behaviour of your system then it sounds like you might have another module that is conflicting with permissions or access control.

lameei’s picture

Status: Active » Fixed

The problem was with the path which i used to create link for asking questions. I have used the http://localhost/node/add/question which is used for the admins. By changing the path to what you mention know i have everything in place and working. Have you mentioned the correct path somewhere in docs?

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.