Details
Problem: The Answer UI shows, prominently, the answer box at the bottom of a question, regardless if the user has permissions (Edit permissions on the object) to answer it or not.
Reproduction:
See:
This is as an unprivileged user (approved, but not given edit perms otherwise) viewing the question.
When attempting to enter an answer, anyway, the expected error modal is presented.
Potential solutions:
- If the user has no permissions to answer, hide the "Answer" field under "New Answer"; show a box with "You cannot answer this question" in its place.
- Make the "Show n Comments/Add a Comment" control more prominent, perhaps as a button control rather than a link. See this under UIExamples for a potential example.
- Make the comment entry field expanded by default, rather than hidden behind the "Add a Comment"/"Show n Comments" control.
A quick and dirty mockup of solutions 1 and 2 are shown below.
As always, if any further information is needed, feel free to ask. I'd submit a Task, but I'm still new here. :)
(edit: fixed the mockup, the button was riding a border with no margin. oops)
Answers
Thanks for this useful report. Feel free to escalate this question as a Task under UX and also under Bug Reports maybe. Now you are a Trusted Contributors.
Edited: escalated here:
T15711: Ponder: "New Answer" input box should be hidden for those without permissions.