Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/core/src/security/resolve-authz-context.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1601,7 +1601,7 @@ describe('the in-memory ObjectQL double honours `limit` (#10978)', () => {
*
* ## What was measured, before the guard existed
*
* On a live `isolated` boot with the real cloud-private `Organizations` plugin
* On a live `isolated` boot with the real licence-gated `Organizations` plugin
* and a file-backed sqlite store, a session whose owner had been removed
* through better-auth's OWN `/organization/remove-member` — driven by the org
* owner, 200, the `sys_member` row really deleted — went on READING that
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/security/resolve-authz-context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ export async function resolveAuthzContext(input: ResolveAuthzInput): Promise<Res
// The block above asks "is this stamped organization still backed by a
// membership?" and, until this card, asked it ONLY of an API key. A browser
// session's `activeOrganizationId` reached `ctx.tenantId` unread: measured on
// a live `isolated` boot with the real cloud-private `Organizations` plugin,
// a live `isolated` boot with the real licence-gated `Organizations` plugin,
// a session whose owner had been removed through better-auth's OWN
// `/organization/remove-member` (driven by the org owner, 200, the
// `sys_member` row really deleted) went on READING that organization's rows
Expand Down
6 changes: 3 additions & 3 deletions packages/rest/src/rest-api-plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,9 @@ export function createRestApiPlugin(config: RestApiPluginConfig = {}): Plugin {
// organization's rows (GET 200) and WROTE a new one into it (POST
// 201, the row read back from the store carrying the other
// organization's id). objectstack#15163 measured it on the
// framework; cloud#1982 reproduced it with the real, cloud-private
// `@objectstack/organizations` mounted, which adds no request-time
// refusal of its own.
// framework; cloud#1982 reproduced it with the real, licence-gated
// `@objectstack/organizations` subclass mounted, which adds no
// request-time refusal of its own.
//
// ## Why this is NOT `authServiceProvider`'s catch-all
//
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
* | organization-less key | **200 total 0 (silent) · 403** | **401** |
*
* objectstack#15163 measured it on the framework; cloud#1982 reproduced it on
* `apps/objectos-ee` with the REAL cloud-private `@objectstack/organizations`
* mounted, reading the written row back out of the sqlite file — the enterprise
* plugin adds no request-time refusal, so the blast radius was every walled
* deployment.
* `apps/objectos-ee` with the REAL licence-gated `@objectstack/organizations`
* subclass mounted, reading the written row back out of the sqlite file — the
* enterprise plugin adds no request-time refusal, so the blast radius was
* every walled deployment.
*
* ## Why the fixture is shaped the way it is
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
* ## What was measured, before this guard existed
*
* On a real `objectstack serve` of cloud's `apps/objectos-ee` — 44 plugins, the
* REAL cloud-private `@objectstack/organizations`, `Tenancy: isolated`,
* `SqlDriver(better-sqlite3)` on a FILE — a browser session whose
* `activeOrganizationId` pointed at an organization its owner had LEFT:
* REAL licence-gated `@objectstack/organizations` subclass,
* `Tenancy: isolated`, `SqlDriver(better-sqlite3)` on a FILE — a browser
* session whose `activeOrganizationId` pointed at an organization its owner
* had LEFT:
*
* | after the membership ended | GET | POST | the row, read back from the sqlite file |
* |:--|:--|:--|:--|
Expand Down
Loading