Skip to content

Regenerate V2 client for the unified AccessControl surface (§6.4 access rights)#61

Open
bzajzon-laserfiche wants to merge 1 commit into
mainfrom
story/673975-access-rights
Open

Regenerate V2 client for the unified AccessControl surface (§6.4 access rights)#61
bzajzon-laserfiche wants to merge 1 commit into
mainfrom
story/673975-access-rights

Conversation

@bzajzon-laserfiche

Copy link
Copy Markdown
Contributor

Regenerates the V2 JS client against the combined §6.4 access-rights surface, now grouped under a single AccessControl swagger tag (server PR: site-api-repository !173579).

Changes

  • Re-regen lf-repository-api-client-v2 (index.ts + generate-client/swagger.json): entry/field/template AccessControl + Rights, default field/template ACLs, getSessionRights, lookupTrustees, and getTrusteeSecurity now live on a new AccessControlClient (the former TrusteesClient is dissolved into it).
  • Trustee security reshaped: getTrusteeSecurity with an includeInherited flag (effective by default, direct when false); TrusteeEffectiveSecurityTrusteeSecurity.
  • Wire accessControlClient into IRepositoryApiClient / RepositoryApiClient (ClientBase.ts).
  • Production server URL restored in swagger.json servers[] and index.ts defaults (localhost-regen trap).

Notes

…ss rights)

Re-regen against the combined access-rights surface grouped under a single AccessControl tag:
entry/field/template AccessControl + Rights, default field/template ACLs, GetSessionRights,
LookupTrustees, and getTrusteeSecurity now live on a new AccessControlClient. Trustee security
reshaped to getTrusteeSecurity with an includeInherited flag (TrusteeEffectiveSecurity ->
TrusteeSecurity). Wire accessControlClient into IRepositoryApiClient / RepositoryApiClient
(ClientBase.ts). Production baseUrl restored in swagger.json + index.ts (localhost-regen trap).

Regen only — no package.json version bump (publish ships in a separate release PR).
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