Team Administration: add 'Add user' action alongside 'Invite colleague' / 'Onboard existing' #49
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Trigger
m 2026-05-20 13:37:
Current state (verified 2026-05-20)
/admin/team(Team Administration) exposes two user-creation paths:paliad.usersrow.What m wants
A third 'Add user' action that lets a global_admin create a complete
paliad.usersrow + (if necessary) the matchingauth.usersrow, in one form submission. The new user can then be added to project teams immediately. This is the right path when:Design considerations
auth.usersrow for the user to ever log in. Two paths:auth.usersrow — user is reachable in dropdowns but can never log in until invited. Useful for placeholder records; risks orphans.standard.paliad.users.emailandauth.users.email. Duplicate behaviour: refuse the create + nudge admin to use 'Onboard existing'.user_added_by_adminevent recording the creator + the new user_id.Acceptance
paliad.users+auth.usersrows are created in one tx (or the auth row + paliad row are linked atomically).Out of scope
Role recommendation
inventor — Supabase auth integration nuance + the magic-link path + atomic two-table create deserve a design pass. Then coder shift. Branch:
mai/<inventor>/admin-add-user.Slice B shipped via gauss; merged into main at https://mgit.msbls.de/m/paliad/commit/9dd47a0. t-paliad-223 complete (Slices A + B + C). Live after Dokploy deploys the new SUPABASE_SERVICE_ROLE_KEY env var (redeploy queued earlier).