Skip to content

Add/remove village admins in the admin screen#1903

Open
ashirley wants to merge 1 commit intoemfcamp:mainfrom
ashirley:village-admin-users
Open

Add/remove village admins in the admin screen#1903
ashirley wants to merge 1 commit intoemfcamp:mainfrom
ashirley:village-admin-users

Conversation

@ashirley
Copy link
Contributor

@ashirley ashirley commented Mar 9, 2026

Fixes #1684

Screenshot_20260309_214250


if user is None:
flash(f"No user found with email {user_email}")
elif VillageMember.query.filter(VillageMember.user == user).first() is not None:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If they're a member of the village they're being added to as an admin, we should probably promote them (although I acknowledge that, at the moment, we only have admin-members-of-villages).

Although then that raises a 'what should deleting them' do question, so maybe it's better off leaving that one well alone.

@lukegb lukegb force-pushed the village-admin-users branch from 32e6583 to d1c99fb Compare March 25, 2026 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow admins to add other people village admins

3 participants