Skip to content

Conversation

@rhit-maroisem
Copy link
Contributor

This PR adds the capability for admins to see a list of all registered users, and edit their permissions. These different permissions allow different levels of access, such as moving, editing, deleting, etc.

@github-project-automation github-project-automation bot moved this to Unrefined in Current Tasks Dec 14, 2025
@rhit-maroisem rhit-maroisem marked this pull request as ready for review December 14, 2025 18:12
Copy link
Contributor

@1FoxInTheBox1 1FoxInTheBox1 left a comment

Choose a reason for hiding this comment

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

looking good, just a few questions

id: string;
username: string;
name: string;
is_google: boolean;
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a reason we're only worried about google users? Like do we need an is_github field as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This originally came from the idea that we would only use google and github, and so is_google implies the other. However, I could totally see that if we wanted to add more services we might want this to be a service: string field instead. I'll check with Rob to see if he thinks we might ever use more than those two

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It turns out that yes, he would like an offline login thing as well. I'll make changes to this in my next PR however, and this will work for now


<div class="text-center py-4">User List WIP</div>
<div class="text-smfont-meduim">
Default permission settings:
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if there's a way to make these permissions settings configurable. Probably not hugely important, but it might be nice.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

There should be, as I can probably configure a thing with the mongodb and session stores. Worth asking Rob if this is a wanted feature, but will probably be in a follow up pr

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Rob said this should go in the backlog for now

Copy link
Contributor

@1FoxInTheBox1 1FoxInTheBox1 left a comment

Choose a reason for hiding this comment

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

LGTM!
Sounds like there's more work to be done but it's not directly related to this PR.

@rhit-maroisem rhit-maroisem merged commit 65639f7 into main Dec 17, 2025
1 check passed
@github-project-automation github-project-automation bot moved this from Unrefined to Done in Current Tasks Dec 17, 2025
@rhit-steineig rhit-steineig deleted the maroisem/admin-see-user-list branch December 18, 2025 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants