10

I already attempted to change the admin user in the lemmy.hjson by switching the login information to a different account, but it still tells me that I'm not the top admin when I try to purge a community. If this isn't something that I can change, this should be something that is possible to do.

Although I don't know Rust, it looks like the function in the source code for getting the top admin is just getting the first user in the list of admins, is there some kind of database trickery I could do to achieve this?

you are viewing a single comment's thread
view the rest of the comments
[-] smorks@lemmy.ca 3 points 1 year ago

if you look at the function that gets the admins, then you can see that it's ordered by the Published date, so I believe you can just update the Published date to earlier than the rest of the admins.

Thank you, this was what I needed. I've changed the Published date on the user I want to be the top admin to be earlier, and now it is working as I hoped.

this post was submitted on 26 Jun 2023
10 points (100.0% liked)

Lemmy Support

4650 readers
1 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS