Source code for the code responsible for this error message:
let target_user = LocalUserView::read_person(&mut context.pool(), target_id).await; if target_user.map(|t| t.local_user.admin) == Ok(true) { Err(LemmyErrorType::CantBlockAdmin)? }
You can’t block local instance admins. You can ban external admins (those on other servers), and moderators, though.
Blocking admins doesn’t make much sense anyway, because admins can probably remove the block from the database if they wanted to be malicious.
As a workaround, you can try the following (requires Lemmy 0.19.0 or higher):
- Go to your account settings
- Export your user profile
- Add the user you wish to block to the
blocked_users
list (make sure to stick to the JSON format) - Import your backup
It looks like the code for importing settings does not execute the admin check.
I love that you found this workaround, but arguably that code path should do the admin check, too.
deleted by creator
If you need to block your local instance admin then you probably shouldn’t be using that instance…
In a lot of communities there is frequently one jackass in power while everyone else in power is cool, and being able to ignore that one person is helpful to avoid their behavior from spoiling the fun of the community for me.
deleted by creator
all admins are bastards
Especially BOFHs, maybe the occasional pimply faced youth…
Can we not pretend that “asshole” is some objective measurement? What looks like someone you really don’t want in your life can be completely irrelevant to others. So you can’t judge all mods because that person you find offensive obviously has to be offensive to everyone else.
deleted by creator
While I agree when their jackassery is due to them being a racist/misogynist/homophobe/etc. that letting them stick around is a good sign the rest of those in power are also terrible, sometimes they are just a jackass because of having an abrasive personality or jumping into conversations and being annoying about some subject they care too much about. Think less malicious and more juvenile to the point that blocking them is necessary to enjoy the rest of the community.
I have found zero tolerance means that no place will be acceptable. But yes, if blocking is due to them being hateful then it isn’t worth sticking around.
deleted by creator
Looks like we have different definitions of what makes someone an asshole, but are otherwise in agreement.
Literally 1984
It’s like RoboCop having a meltdown when he tries to arrest an OCP officer
What a reference! Amazing
Not being able to block a moderator is genuinely hilarious.
You can definitely block mods, and also admins of other instances.
But I don’t think you can block your own instances admins, but if those people are worth blocking maybe you shouldn’t be on that instance…
Fair enough.
Does blocking mean the blocked user can no longer see your posts/activity? Therefore blocking a mod would make it harder for them to ban you?
Blocking means you no longer see their posts, and they can’t comment on any of your posts. If they’ve already commented or replied to you, the messages are deleted (hidden?).
Works fine on Sync :,)
Works fine on Sync :,)
It sounds like Sync is either blocking users client-side (which would be confusing, since server-side blocks do exist), or it is trying and failing to add a block server-side but suppressing the server’s error message.
either way, it sounds like a bug.
do you know where the project’s github is so someone can open an issue about it?
Sync has filtering done in-app. Maybe that’s what they’re referring to.
And when reddit went ham on third party apps the developer asked his users what to do and we asked him to port to lemmy.
Sync filters a lot in client.
Is it? I don’t get it. I thought this is just how Lemmy and reddit both work.
Erm… I think you can’t block that admin. Just a hunch, but that might be what’s up here.
it’s still a more descriptive description of the problem than most error messages ever
sad sunaurus noises
Have you tried turning it off and on again?
Can’t relate.
Just use an account from a different server and then block the admins before you post. That way they can’t give you any problems or censor you.
It’s reason #4647386 why Lemmy and federation itself is broken.
But you can and really should do it. Since everyone refuses to fix or even acknowledge the serious problems with the platform, it makes sense to simply exploit them for your benefit.