Skip to content

feat: enable/disable account users and block disabled users on account routes#180

Open
premsgr wants to merge 1 commit intochore/update-fastify-vue-depsfrom
feat/enable-disable-account-user
Open

feat: enable/disable account users and block disabled users on account routes#180
premsgr wants to merge 1 commit intochore/update-fastify-vue-depsfrom
feat/enable-disable-account-user

Conversation

@premsgr
Copy link
Collaborator

@premsgr premsgr commented Feb 17, 2026

feat: enable/disable account users and block disabled users on account routes

Tasks completed

  • Add enableAccountUser and disableAccountUser handlers and expose them via account users controller routes.
  • Add ensureUserEnabledForAccount pre-handler that returns 403 when the session user is disabled for the current account.
  • Use ensureUserEnabledForAccount after verifySession() on account-scoped routes in account, accountInvitation, and accountUser controllers.
  • Add disabled column support in accountUsers sqlFactory and accountUser types.
  • Update accounts sqlFactory and myAccounts handler to respect disabled account users where applicable.
  • Update config types for handler configuration.

@premsgr premsgr changed the base branch from main to chore/update-fastify-vue-deps February 17, 2026 11:26
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