this post was submitted on 31 Dec 2023
3 points (80.0% liked)

Lemmy Support

4658 readers
37 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

Hi, I'm working on modlog display for the Voyager client and I have a quick question regarding mod log item views, specifically, the ModBanView (https://join-lemmy.org/api/interfaces/ModBanView.html).

If instance bans require admin rights, why is the person issuing the ban called "moderator" here?

Same goes for some other items like ModAddView and ModAddCommunityView. Meanwhile, ModHideCommunity view uses "admin" instead.

Unfortunately, there is no explanation in the API docs to help explain this apparent inconsistency. Can anyone help shed some light on this?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] nutomic@lemmy.ml 2 points 10 months ago (1 children)

Looks like this is just wrongly named, maybe it was copy pasted from the community ban. Probably not worth the trouble to fix it, as it would be a breaking change for clients.

[โ€“] CmdrKeen 2 points 10 months ago

Yeah, I wasn't asking for a fix, just for an explanation.