Skip to content

Conversation

@msmithstubbs
Copy link
Contributor

@msmithstubbs msmithstubbs commented Dec 16, 2025

This PR adds a team role for TeamUser.

The team role can be one of user (the default) or admin. A team_roles table has been created to model this.

The dashboard and account preferences will display and 'admin' label next to a team user with the admin role.

CleanShot 2025-12-16 at 10 20 26@2x

The term 'admin' can be ambiguous as we also have internal admins. I've used 'team admin' where possible to distinguish this. A team admin is a user with admin privileges for a team: either the team owner, or a team user with the admin role.

Role management UI

A team admin can add and remove other admins.

All team users created using the invite link as regular users. They can be granted team admin status after creation.

CleanShot.2026-01-06.at.10.34.49.mp4

If a team admin tries to remove their own admin role a warning is shown first.

CleanShot.2026-01-06.at.14.05.36.mp4

@msmithstubbs msmithstubbs force-pushed the feat/team-roles branch 2 times, most recently from b6b7d77 to 5b82c85 Compare December 16, 2025 01:28
@Ziinc Ziinc mentioned this pull request Dec 31, 2025
@msmithstubbs msmithstubbs force-pushed the feat/team-roles branch 3 times, most recently from 7f0b0a1 to ff84664 Compare January 6, 2026 23:29
@msmithstubbs msmithstubbs changed the title wip: TeamUser can be admin feat: TeamUser can be a team admin Jan 6, 2026
@msmithstubbs msmithstubbs marked this pull request as ready for review January 6, 2026 23:46
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.

1 participant