• MentalEdge@sopuli.xyz
      link
      fedilink
      arrow-up
      42
      ·
      edit-2
      1 year ago

      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…

  • Norgur@kbin.social
    link
    fedilink
    arrow-up
    17
    ·
    1 year ago

    Erm… I think you can’t block that admin. Just a hunch, but that might be what’s up here.

  • Katlah@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    65
    ·
    1 year ago

    If you need to block your local instance admin then you probably shouldn’t be using that instance…

    • snooggums@kbin.social
      link
      fedilink
      arrow-up
      12
      ·
      1 year ago

      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.

        • snooggums@kbin.social
          link
          fedilink
          arrow-up
          2
          ·
          1 year ago

          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.

        • Norgur@kbin.social
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          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.

  • Skull giver@popplesburger.hilciferous.nl
    link
    fedilink
    arrow-up
    81
    ·
    edit-2
    1 year ago

    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):

    1. Go to your account settings
    2. Export your user profile
    3. Add the user you wish to block to the blocked_users list (make sure to stick to the JSON format)
    4. Import your backup

    It looks like the code for importing settings does not execute the admin check.