How many days a revoke admin $USER take?

AI-generated summary

The discussion revolves around the delay in revoking admin status for a user, despite immediate revocation of moderator status. hhlp notes that admin revocation took about 4 days, unlike moderator revocation, which was instant. ondrej clarifies that admins cannot revoke their own admin status; it must be done by another admin. pfaffman suggests the issue might be due to the user being listed in DISCOURSE_DEVELOPER_EMAILS in app.yml, which prevents admin status changes via the UI. hhlp confirms the user wasn’t added to this list but suspects it might be the case and plans to check. hhlp adds that another admin can see the admin revocation option, but they cannot, and the issue was resolved after 4 days. The problem appears to be related to backend configurations rather than user interface limitations.

just for know, it was about 3 days ago → I’ve thought is was inmmediatly:

.- Admin: Yes - (don’t see the action Grant Admin. or Revoke Admin)

is some strange doesn’t see the Grant Admin here…

Groups: Admins and staff.

Questions:

  • some pre-requisites.
  • something to keep in mind.
  • It’s not a self host.
  • Or Something magic are occurs in backstage? :thinking:

Moderator

Hovewer revoke moderator was inmmediatly on the same $USER.

Note

There are Other admin in the site

Other

Captura desde 2025-03-30 14-54-01

Regards.,

I’m slightly confused. But if you’re an admin which is what it looks like, you can’t revoke your own admin, Another admin has to do that for you. Whereas, any admin can grant/revoke their own moderator status and other users’ moderator status hence why you can see that button.

I’m guessing that the user has their email address in DISCOURSE_DEVELOPER_EMAILS in your app.yml.

If a user is made an admin that way, they will always be an admin and you can’t change it from the UX. Someone will need to edit the app.yml and destroy and restart the container (or rebuild).

Yes, I know I’ve removed moderator myself but not admin someone else do it.

Regards.,

you’re refering to this:

Regards.,

I don’t remember someone add the e-mail of the $USER, but is it the case I’ll contact the right person.

C.C: @mattdm

Regards.,

That’s about changing the notification email, but the first thing that discourse-setup does is ask for the admin account(s).

But I would edit the app.yml with nano (I’d use vim) and see what addresses are there for the DISCOURSE_DEVELOPER_EMAILS.

If you do not have ssh access to the server then you’ll need to contact someone who does.

It’s very strange, another admin can see that icons, but if I review myself I can’t.

Hovewer is fixed now. but it’s take 4d.

Regards.,