Skip to content
All changes

Enterprise actions need their own permissions, and outsider limits that hold

Signing a company's people out and similar actions need the permission their effect calls for, and outsider limits, deleted directories and log stream reads now finish properly.

Improved
1
  • EnterpriseWhen WorkOS refuses to read a company's audit log stream, BuildBase now remembers the refusal for a minute and answers from it, except when you press Refresh in the console. Before, every read called WorkOS again on your WorkOS key. GET /api/v1/public/workspaces/:workspaceId/enterprise/log-stream and GET /api/v1/company/log-stream are now limited to 60 a minute per company, and answer 429 past that.
Fixed
3
  • EnterpriseBehaviour change: signing a company's people out and revoking a connected app now need Delete on auths enterprises (your enterprise companies) and on users in a role's permissions, approving an AI agent issuer needs Update on auths enterprises, and cleaning up a WorkOS role needs Delete on auths enterprises. Before, Create on auths enterprises was enough for all four. The console offers each button only to the roles that may use it.
  • EnterpriseWith outsiders limited in a company's access policy, saving the policy now lowers every outsider above the role cap in a background job that is retried until each one is lowered, and carries on where it stopped. It runs on every save, even when the setting did not change, for the company or for one workspace. Before, the lowering ran once inside the API process and only when the setting changed, so a restart, a deploy or one member that failed left outsiders above the cap.
  • Directory SyncWhen a company deletes its directory and BuildBase gives up on that event after repeated failures, it now still turns the company's provisioning off and makes one more pass to deactivate its people, naming any it could not deactivate in the console. Before, the company stayed enabled, and the people it could not deactivate kept their managed memberships and roles.

Use what shipped this week

Everything in this release is already in the console and the SDK.

Free plan7-day free trial on paid plansNo credit card required