Page MenuHomePhorge

Ponder: "New Answer" input box should be hidden for those without permissions.
Closed, ResolvedPublic

Asked by sirocyl on Jan 11 2024, 16:38.
Tags
Referenced Files
F706925: image.png
Jan 11 2024, 16:41
F706915: image.png
Jan 11 2024, 16:38
F706886: image.png
Jan 11 2024, 16:38
F706889: image.png
Jan 11 2024, 16:38
Subscribers

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:

image.png (658×1 px, 49 KB)

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.

image.png (520×962 px, 42 KB)

Potential solutions:

  1. 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.
  2. 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.
  3. 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.

image.png (856×784 px, 43 KB)

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

valerio.bozzolan
Updated 120 Days Ago

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.

New Answer

Answer

This question has been marked as closed, but you can still leave a new answer.