Opened 3 years ago
Last modified 8 weeks ago
#5708 new defect (bug)
Allow only moderators to remove modlook tag
Reported by: | vladytimy | Owned by: | |
---|---|---|---|
Milestone: | Priority: | high | |
Component: | Support Forums | Keywords: | has-patch needs-testing |
Cc: |
Description
Currently, if someone reports a topic, the tag modlook is added. As far as I understand, the author or anyone replying on that topic can remove modlook tag from the list, before a moderator has the chance to review that report, so unless the topic is reported again, it stays in the wild as it is.
The ability to remove moodlook tag should only be available to moderators.
Maybe an extra check user_can( $user_id, 'moderate' )
when modlook is removed from the list of tags would do the trick.
Attachments (1)
Change History (16)
#1
@
3 years ago
- Summary changed from Allow only moderators to remove moodlook tag to Allow only moderators to remove modlook tag
This ticket was mentioned in Slack in #meta by vladytimy. View the logs.
3 years ago
This ticket was mentioned in Slack in #forums by yui. View the logs.
3 years ago
This ticket was mentioned in Slack in #meta by vladytimy. View the logs.
3 years ago
This ticket was mentioned in Slack in #forums by yui. View the logs.
3 years ago
This ticket was mentioned in Slack in #meta by tellyworth. View the logs.
3 years ago
#10
@
3 years ago
- Keywords has-patch needs-testing added
I made an attempt at blocking this in my patch. It isn't pretty, but it may work for now.
#11
@
3 years ago
Just occurs to me: Whoever added the modlook should also be able to remove it -- maybe it was a mistake or they re-thought it.
#12
@
3 years ago
I am not sure that info is tracked. It looks like there is some level of topic and tag relationship but I never saw a good way for user associations. Would probably need a way to track that in some form of extra meta info.
#13
@
2 months ago
Is this still relevant now that the new "report post" functionality has been implemented?
#14
@
8 weeks ago
@tobifjellner Is the modlook
tag used at all anymore? I'm not up-to-speed on it, but if it's not used by mods anymore, yeah we can close this ticket.
Perhaps it would be better to remove this as an allowable tag and allow it to be set/reset only via the "report topic" button. Anyone could report a topic, only a mod or above could click the removal button.