Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Post History

86%
+11 −0
Q&A Post action links that cannot be used should be hidden

When I'm signed in, I see a set of post action links such as the following (this is from a question): Permalink | History | Suggest edit | Close | Delete | Flag The "Suggest edit" changes to ...

1 answer  ·  posted 4y ago by Canina‭  ·  edited 3y ago by Monica Cellio‭

#2: Post edited by user avatar Monica Cellio‭ · 2022-01-11T13:55:17Z (almost 3 years ago)
This was fixed sometime since this question was asked but I don't know when. Just tested with a new user.
#1: Initial revision by user avatar Canina‭ · 2020-07-01T15:53:31Z (over 4 years ago)
When I'm signed in, I see a set of post action links such as the following (this is from a question):

> Permalink | History | Suggest edit | Close | Delete | Flag

The "Suggest edit" changes to "Edit" if I am able to edit immediately.

However, when I'm *not* signed in, the corresponding set of links is:

> Permalink | History | Close | Delete | Flag

I'm actually afraid to try them out, but as a user that's not signed in, I really don't think I should be able to close or delete a question, and one can argue whether or not I should be able to flag it.

All this to **suggest that each action link should only be shown if I have sufficient privileges to use it on the post in question.** Absent other changes to the post in question in the interim, I shouldn't, as a user, see an action link that ultimately results in being told some variation of "permission denied". That's just bad UX.

In the particular case of questions visited by a user who is not signed in, I suspect that the set of action links shown should be permalink and history; *possibly* also flag (if flagging as a not-signed-in user is allowed, which I do not intend for this Q&A to discuss). Certainly not close and delete.

<small>To be honest, I'm not sure if this is a bug or a feature-request.</small>