Extra database roles can belong to several built-in roles, keep their own time limits and connect through the pooler.
What's new
Several memberships per role. An extra database role can now be a member of anon and authenticated together, or of any mix of the built-in roles: send memberOf as a list. The role gets none of their rights until its session switches to one with SET ROLE.
Per-role time limits that stay.statementTimeout, idleInTransactionSessionTimeout and lockTimeout can be set on each role, for example "30s" or "5min". Before, these settings were removed every time the role was repaired; now they are part of the role and are applied again each time.
Connect through the pooler. Extra roles can now log in through the connection pooler on port 6432 with their own password, not only directly.
Change a role later.PATCH /api/projects/:id/db-extra-roles/:roleId updates the memberships or limits of an existing role. The extra roles API is now documented.