weirdness - Mod team members reordered randomly?

3 years ago by b9999998 to c/modcoord

just wondering if anyone else is seeing this, and possibly a bug related to the upgrade?

I just noticed that in the communities that I started, mod team memberships got reordered randomly and I no longer have the option to add/appoint new mods. Examples: !butterflywings@lemmynsfw.com , [!dangleandjingle@lemmynsfw.com

Update: hmm, even in this mod coordination, the membership is all changed, and @ubiquitatious@lemmynsfw.com is no longer top moderator...

More weirdness update Monday: at !DangleAndJingle, I just added @lemmyposter212@lemmy.world as mod. But in the sidebar, s/he is listed out of order and not reflective of modlog transactions...

yay 2 points 3 years ago path: 0 945540, hotness: undefined, score: 2, children: 2
b9999998 1 point 3 years ago

Awesome! πŸ˜ŠπŸ‘

[Update] I'm assuming the NSFW patch is also being applied?)

path: 0 945540 947294, hotness: undefined, score: 1, children: 1
yay 1 point 3 years ago

yes im looking for it

path: 0 945540 947294 951101, hotness: undefined, score: 1, children: 0
yay 2 points 3 years ago

what?! first mod is always the top mod. there must be some bug or something. @wankbank@lemmynsfw.com can you approve this? I can see this in modlog so I will transfer the community to the @b9999998@lemmynsfw.com , but I just want to here from wankbank too.

path: 0 546759, hotness: undefined, score: 2, children: 6
b9999998 2 points 3 years ago path: 0 546759 548703, hotness: undefined, score: 2, children: 5
StrongSuspect4913 2 points 3 years ago

That's because @lemmyposter212@lemmy.world created some of the communities and some I did create. We are both mods over on reddit as well, so we split the communities we created initially

Nevermind (I should check before commenting xD). Indeed the order is flipped for !sissies@lemmynsfw.com

path: 0 546759 548703 555942, hotness: undefined, score: 2, children: 0
yay 1 point 3 years ago path: 0 546759 548703 558264, hotness: undefined, score: 1, children: 3
b9999998 1 point 3 years ago

So even when you as an admin does "transfer" the community back to me, it doesn't fix anything since I'm still not top mod and I don't have top mod capabilities. Thanks for trying though

This is one crazy "bug"! And shows a real weakness in how the mod lists are maintained within Lemmy. Any idea what actually happened? Obviously the "bug" bypassed the database mod transaction logging. Does this possibly mean there are some holes open for future hacking vulnerabilities where maybe even admins can be possibly circumvented?

Perhaps the only way to really correct might be if the actual current top mod @wankbank@lemmynsfw.com does the "transfer" back to me. Let's see if going that route will work, as I have about close to 10 communities that are impacted.

path: 0 546759 548703 558264 558892, hotness: undefined, score: 1, children: 2
wankbank 1 point 3 years ago

@yay@lemmynsfw.com

I've just tried the "transfer community" option, but after clicking yes nothing seems to change. The request goes out:

{
    "community_id": 1820,
    "person_id": 97262,
    "auth": "xxx"
}

and a reply comes back:

spoiler
{
    "community_view": {
        "community": {
            "id": 1820,
            "name": "butterflywings",
            "title": "ButterflyWings",
            "description": "A community to appreciate and share the beauty of labia wings - in all positions, from fully spread to shyly folded, and from all angles, frontal, back, underview and especially in action.\n\n**Rules:**\n - General lemmynsfw.com Rules\n - Self-Promotion is allowed! Mark Original Content with [OC] or [Original Content]\n\n---\n\nPlease make a request post to let mods know if you want to help moderate here.\n\nr/ButterflyWings (from 26K to 400+K members over 4 years)\n\n---\n",
            "removed": false,
            "published": "2023-06-18T03:17:14.269618",
            "updated": "2023-06-21T18:51:38.610467",
            "deleted": false,
            "nsfw": true,
            "actor_id": "https://lemmynsfw.com/c/butterflywings",
            "local": true,
            "icon": "https://lemmynsfw.com/pictrs/image/c06266d8-94de-41a0-b0a1-9dada3a68809.jpeg",
            "hidden": false,
            "posting_restricted_to_mods": false,
            "instance_id": 1
        },
        "subscribed": "Subscribed",
        "blocked": false,
        "counts": {
            "id": 1053,
            "community_id": 1820,
            "subscribers": 157,
            "posts": 16,
            "comments": 5,
            "published": "2023-06-18T03:17:14.269618",
            "users_active_day": 1,
            "users_active_week": 4,
            "users_active_month": 4,
            "users_active_half_year": 4,
            "hot_rank": 1
        }
    },
    "moderators": [
        {
            "community": {
                "id": 1820,
                "name": "butterflywings",
                "title": "ButterflyWings",
                "description": "A community to appreciate and share the beauty of labia wings - in all positions, from fully spread to shyly folded, and from all angles, frontal, back, underview and especially in action.\n\n**Rules:**\n - General lemmynsfw.com Rules\n - Self-Promotion is allowed! Mark Original Content with [OC] or [Original Content]\n\n---\n\nPlease make a request post to let mods know if you want to help moderate here.\n\nr/ButterflyWings (from 26K to 400+K members over 4 years)\n\n---\n",
                "removed": false,
                "published": "2023-06-18T03:17:14.269618",
                "updated": "2023-06-21T18:51:38.610467",
                "deleted": false,
                "nsfw": true,
                "actor_id": "https://lemmynsfw.com/c/butterflywings",
                "local": true,
                "icon": "https://lemmynsfw.com/pictrs/image/c06266d8-94de-41a0-b0a1-9dada3a68809.jpeg",
                "hidden": false,
                "posting_restricted_to_mods": false,
                "instance_id": 1
            },
            "moderator": {
                "id": 5290,
                "name": "wankbank",
                "avatar": "https://lemmynsfw.com/pictrs/image/ebf19e8b-0008-4fce-bdc8-bdef28a8649a.webp",
                "banned": false,
                "published": "2023-06-12T02:20:36.333327",
                "actor_id": "https://lemmynsfw.com/u/wankbank",
                "local": true,
                "deleted": false,
                "admin": false,
                "bot_account": false,
                "instance_id": 1
            }
        },
        {
            "community": {
                "id": 1820,
                "name": "butterflywings",
                "title": "ButterflyWings",
                "description": "A community to appreciate and share the beauty of labia wings - in all positions, from fully spread to shyly folded, and from all angles, frontal, back, underview and especially in action.\n\n**Rules:**\n - General lemmynsfw.com Rules\n - Self-Promotion is allowed! Mark Original Content with [OC] or [Original Content]\n\n---\n\nPlease make a request post to let mods know if you want to help moderate here.\n\nr/ButterflyWings (from 26K to 400+K members over 4 years)\n\n---\n",
                "removed": false,
                "published": "2023-06-18T03:17:14.269618",
                "updated": "2023-06-21T18:51:38.610467",
                "deleted": false,
                "nsfw": true,
                "actor_id": "https://lemmynsfw.com/c/butterflywings",
                "local": true,
                "icon": "https://lemmynsfw.com/pictrs/image/c06266d8-94de-41a0-b0a1-9dada3a68809.jpeg",
                "hidden": false,
                "posting_restricted_to_mods": false,
                "instance_id": 1
            },
            "moderator": {
                "id": 16088,
                "name": "nsfun",
                "banned": false,
                "published": "2023-06-12T22:01:17.596656",
                "actor_id": "https://lemmynsfw.com/u/nsfun",
                "bio": "why are you here? ",
                "local": true,
                "deleted": false,
                "admin": false,
                "bot_account": false,
                "instance_id": 1
            }
        },
        {
            "community": {
                "id": 1820,
                "name": "butterflywings",
                "title": "ButterflyWings",
                "description": "A community to appreciate and share the beauty of labia wings - in all positions, from fully spread to shyly folded, and from all angles, frontal, back, underview and especially in action.\n\n**Rules:**\n - General lemmynsfw.com Rules\n - Self-Promotion is allowed! Mark Original Content with [OC] or [Original Content]\n\n---\n\nPlease make a request post to let mods know if you want to help moderate here.\n\nr/ButterflyWings (from 26K to 400+K members over 4 years)\n\n---\n",
                "removed": false,
                "published": "2023-06-18T03:17:14.269618",
                "updated": "2023-06-21T18:51:38.610467",
                "deleted": false,
                "nsfw": true,
                "actor_id": "https://lemmynsfw.com/c/butterflywings",
                "local": true,
                "icon": "https://lemmynsfw.com/pictrs/image/c06266d8-94de-41a0-b0a1-9dada3a68809.jpeg",
                "hidden": false,
                "posting_restricted_to_mods": false,
                "instance_id": 1
            },
            "moderator": {
                "id": 97262,
                "name": "b9999998",
                "banned": false,
                "published": "2023-06-18T03:15:06.002740",
                "actor_id": "https://lemmynsfw.com/u/b9999998",
                "bio": "Reddit veteran - modded over 50+ subs, including personal r/JustBecause9999998\n\nFeel free to message if I might know you...",
                "local": true,
                "deleted": false,
                "admin": false,
                "bot_account": false,
                "instance_id": 1
            }
        }
    ],
    "discussion_languages": []
}
path: 0 546759 548703 558264 558892 563152, hotness: undefined, score: 1, children: 1
ubiquitatious 2 points 3 years ago

This seems to be a major problem, I don't think they will be able to restore the previous top mods even if they roll out an update to fix this issue. Link to github issue

path: 0 654810, hotness: undefined, score: 2, children: 2
b9999998 1 point 3 years ago

Yes, it's a major problem - I was surprised not many folks seemed to care about it at all.

I don't know the code, but since the modlog itself is not corrupted, some admin fix/script to restore the original mods' ordering should be possible by leveraging modlogs.

path: 0 654810 655822, hotness: undefined, score: 1, children: 0
b9999998 1 point 3 years ago

It's surprising (and disheartening) that nobody has been assigned to the bug report 😒

path: 0 654810 778970, hotness: undefined, score: 1, children: 0
wankbank 1 point 3 years ago

What I'm seeing in !lipsthatgrip is that I appear as top mod and I do have the options for "ban from community" and "appoint as mod" (or "remove as mod" and "transfer community" for you), but they're not in the drop-down and actually can get out of sync with it if you collapse the menu by clicking on the background:

I don't see you moving the community back to me, but I am late to this thread.

The same is true of the two you linked, and I also see myself at the fist listed mod for them (even in a guest session).

(cc @yay)

path: 0 562868, hotness: undefined, score: 1, children: 5
b9999998 1 point 3 years ago

!lipsthatgrip@lemmynsfw.com is unaffected and totally fine, which confirms what you see. You are the creator of that community so the ordering is correct.

The issue is on the communities I created such as !butterflywings@lemmynsfw.com, !dangleandjingle@lemmynsfw.com - due to the bug we are discussing, you've become the top moderator... (what we don't know is why it happened). And it's not simply just a display UI issue.
BTW, I don't really mind that you've become top mod on my various communities, it's more that this type of random re-orderings is a very serious thing IMO - if one can't trust consistency and integrity of how moderators lists are handled, then the platform in my eyes become not trustworthy at all...

path: 0 562868 563122, hotness: undefined, score: 1, children: 4
wankbank 2 points 3 years ago

this type of random re-orderings is a very serious thing IMO

Yeah, I understood your position completely, and it's definitely a P1 bug.

I see myself as top mod of most of the subs I mod.

Here's me trying to transfer !ftvgirls@lemmynsfw.com:

{
    "community_id": 1840,
    "person_id": 97262,
    "auth": "xxx"
}
spoiler
{
  "community_view": {
    "community": {
      "id": 1840,
      "name": "ftvgirls",
      "title": "FTVGirls",
      "description": "Must have FTVGirls studio's logo/watermarking on posting, to ensure verification of model's age, as well as proof that content is from FTVGirls. \n\ncurrently also mods r/FTVGirls along with u/FTV_LIA, who is the photography director for the website.\n\n---\n\nPlease make a request post to let mods know if you want to help moderate here.\n\n---\n",
      "removed": false,
      "published": "2023-06-18T04:06:06.906636",
      "updated": "2023-06-21T14:02:53.644123",
      "deleted": false,
      "nsfw": true,
      "actor_id": "https://lemmynsfw.com/c/ftvgirls",
      "local": true,
      "icon": "https://lemmynsfw.com/pictrs/image/07122cb7-84c3-4280-8589-775b1dc24eb9.jpeg",
      "hidden": false,
      "posting_restricted_to_mods": false,
      "instance_id": 1
    },
    "subscribed": "Subscribed",
    "blocked": false,
    "counts": {
      "id": 1066,
      "community_id": 1840,
      "subscribers": 267,
      "posts": 29,
      "comments": 11,
      "published": "2023-06-18T04:06:06.906636",
      "users_active_day": 1,
      "users_active_week": 6,
      "users_active_month": 8,
      "users_active_half_year": 8,
      "hot_rank": 2
    }
  },
  "moderators": [
    {
      "community": {
        "id": 1840,
        "name": "ftvgirls",
        "title": "FTVGirls",
        "description": "Must have FTVGirls studio's logo/watermarking on posting, to ensure verification of model's age, as well as proof that content is from FTVGirls. \n\ncurrently also mods r/FTVGirls along with u/FTV_LIA, who is the photography director for the website.\n\n---\n\nPlease make a request post to let mods know if you want to help moderate here.\n\n---\n",
        "removed": false,
        "published": "2023-06-18T04:06:06.906636",
        "updated": "2023-06-21T14:02:53.644123",
        "deleted": false,
        "nsfw": true,
        "actor_id": "https://lemmynsfw.com/c/ftvgirls",
        "local": true,
        "icon": "https://lemmynsfw.com/pictrs/image/07122cb7-84c3-4280-8589-775b1dc24eb9.jpeg",
        "hidden": false,
        "posting_restricted_to_mods": false,
        "instance_id": 1
      },
      "moderator": {
        "id": 5290,
        "name": "wankbank",
        "avatar": "https://lemmynsfw.com/pictrs/image/ebf19e8b-0008-4fce-bdc8-bdef28a8649a.webp",
        "banned": false,
        "published": "2023-06-12T02:20:36.333327",
        "actor_id": "https://lemmynsfw.com/u/wankbank",
        "local": true,
        "deleted": false,
        "admin": false,
        "bot_account": false,
        "instance_id": 1
      }
    },
    {
      "community": {
        "id": 1840,
        "name": "ftvgirls",
        "title": "FTVGirls",
        "description": "Must have FTVGirls studio's logo/watermarking on posting, to ensure verification of model's age, as well as proof that content is from FTVGirls. \n\ncurrently also mods r/FTVGirls along with u/FTV_LIA, who is the photography director for the website.\n\n---\n\nPlease make a request post to let mods know if you want to help moderate here.\n\n---\n",
        "removed": false,
        "published": "2023-06-18T04:06:06.906636",
        "updated": "2023-06-21T14:02:53.644123",
        "deleted": false,
        "nsfw": true,
        "actor_id": "https://lemmynsfw.com/c/ftvgirls",
        "local": true,
        "icon": "https://lemmynsfw.com/pictrs/image/07122cb7-84c3-4280-8589-775b1dc24eb9.jpeg",
        "hidden": false,
        "posting_restricted_to_mods": false,
        "instance_id": 1
      },
      "moderator": {
        "id": 16088,
        "name": "nsfun",
        "banned": false,
        "published": "2023-06-12T22:01:17.596656",
        "actor_id": "https://lemmynsfw.com/u/nsfun",
        "bio": "why are you here? ",
        "local": true,
        "deleted": false,
        "admin": false,
        "bot_account": false,
        "instance_id": 1
      }
    },
    {
      "community": {
        "id": 1840,
        "name": "ftvgirls",
        "title": "FTVGirls",
        "description": "Must have FTVGirls studio's logo/watermarking on posting, to ensure verification of model's age, as well as proof that content is from FTVGirls. \n\ncurrently also mods r/FTVGirls along with u/FTV_LIA, who is the photography director for the website.\n\n---\n\nPlease make a request post to let mods know if you want to help moderate here.\n\n---\n",
        "removed": false,
        "published": "2023-06-18T04:06:06.906636",
        "updated": "2023-06-21T14:02:53.644123",
        "deleted": false,
        "nsfw": true,
        "actor_id": "https://lemmynsfw.com/c/ftvgirls",
        "local": true,
        "icon": "https://lemmynsfw.com/pictrs/image/07122cb7-84c3-4280-8589-775b1dc24eb9.jpeg",
        "hidden": false,
        "posting_restricted_to_mods": false,
        "instance_id": 1
      },
      "moderator": {
        "id": 18746,
        "name": "data_currator",
        "banned": false,
        "published": "2023-06-13T02:36:46.709481",
        "actor_id": "https://lemmynsfw.com/u/data_currator",
        "local": true,
        "deleted": false,
        "admin": false,
        "bot_account": false,
        "instance_id": 1
      }
    },
    {
      "community": {
        "id": 1840,
        "name": "ftvgirls",
        "title": "FTVGirls",
        "description": "Must have FTVGirls studio's logo/watermarking on posting, to ensure verification of model's age, as well as proof that content is from FTVGirls. \n\ncurrently also mods r/FTVGirls along with u/FTV_LIA, who is the photography director for the website.\n\n---\n\nPlease make a request post to let mods know if you want to help moderate here.\n\n---\n",
        "removed": false,
        "published": "2023-06-18T04:06:06.906636",
        "updated": "2023-06-21T14:02:53.644123",
        "deleted": false,
        "nsfw": true,
        "actor_id": "https://lemmynsfw.com/c/ftvgirls",
        "local": true,
        "icon": "https://lemmynsfw.com/pictrs/image/07122cb7-84c3-4280-8589-775b1dc24eb9.jpeg",
        "hidden": false,
        "posting_restricted_to_mods": false,
        "instance_id": 1
      },
      "moderator": {
        "id": 97262,
        "name": "b9999998",
        "banned": false,
        "published": "2023-06-18T03:15:06.002740",
        "actor_id": "https://lemmynsfw.com/u/b9999998",
        "bio": "Reddit veteran - modded over 50+ subs, including personal r/JustBecause9999998\n\nFeel free to message if I might know you...",
        "local": true,
        "deleted": false,
        "admin": false,
        "bot_account": false,
        "instance_id": 1
      }
    }
  ],
  "discussion_languages": []
}

Notice that the moderator's user ids are ordered - I think it's just making the earliest registered (i.e. lowest id) account the top mod... @yay

path: 0 562868 563122 563396, hotness: undefined, score: 2, children: 3
wankbank 3 points 3 years ago

Experimenting in !modcoord shows that I cannot de-mod anyone with a lower user id, but I can de-mod e.g. @ubiquitatious@lemmynsfw.com who I assume is the original owner.

I'm guessing the intended behaviour is that you shouldn't be able to edit a mod who's been mod longer than you, but they're sorting/checking the wrong thing.

path: 0 562868 563122 563396 563656, hotness: undefined, score: 3, children: 2
wankbank 3 points 3 years ago

@yay@lemmynsfw.com This instance appears to be ordering mods by user_id, not by date_granted_mod (or whatever).

I've just tested on ds9.lemmy.ml and it's not happening there so it might be just a here thing. I need to do paid work now, so I can't test on any live communities to confirm that it is only here.

path: 0 562868 563122 563396 563656 564065, hotness: undefined, score: 3, children: 1
modcoord
modcoord

@lemmynsfw.com

login for more options
598
43
1

Community for moderators.

go to feed...