@nizam-os/dashboard-sdk 5.2.0 → 5.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -97,7 +97,7 @@ export declare class OrganizationsClient {
97
97
  deleteOrganization(request: NizamDashboard.DeleteOrganizationRequest, requestOptions?: OrganizationsClient.RequestOptions): core.HttpResponsePromise<void>;
98
98
  private __deleteOrganization;
99
99
  /**
100
- * Set-only partial update. Null/omitted fields stay unchanged. A slug rename also renames the Keycloak Organization's alias inside the same transaction so the two stay in lockstep. Gated by L4 — admins of the org are allowed; non-admins surface as 403 from Spring Security's access-denied handler.
100
+ * Set-only partial update. Null/omitted fields stay unchanged. The slug is a Nizam-side handle; Keycloak Organizations are addressed by their immutable KC id, so a slug rename needs no Keycloak change. Gated by L4 — admins of the org are allowed; non-admins surface as 403 from Spring Security's access-denied handler.
101
101
  *
102
102
  * > **Requires** `administer` on `organization` (SpiceDB permission expression).
103
103
  *
@@ -312,7 +312,7 @@ class OrganizationsClient {
312
312
  return (0, handleNonStatusCodeError_js_1.handleNonStatusCodeError)(_response.error, _response.rawResponse, "DELETE", "/v1/organizations/{id}");
313
313
  }
314
314
  /**
315
- * Set-only partial update. Null/omitted fields stay unchanged. A slug rename also renames the Keycloak Organization's alias inside the same transaction so the two stay in lockstep. Gated by L4 — admins of the org are allowed; non-admins surface as 403 from Spring Security's access-denied handler.
315
+ * Set-only partial update. Null/omitted fields stay unchanged. The slug is a Nizam-side handle; Keycloak Organizations are addressed by their immutable KC id, so a slug rename needs no Keycloak change. Gated by L4 — admins of the org are allowed; non-admins surface as 403 from Spring Security's access-denied handler.
316
316
  *
317
317
  * > **Requires** `administer` on `organization` (SpiceDB permission expression).
318
318
  *
@@ -14,7 +14,7 @@ export interface UpdateOrganizationRequest {
14
14
  id: string;
15
15
  /** New display name. Omit to leave unchanged. */
16
16
  name?: string;
17
- /** New URL-safe slug. Cross-tenant unique. Cascades to the Keycloak Organization's alias. Omit to leave unchanged. */
17
+ /** New URL-safe slug. Cross-tenant unique. Omit to leave unchanged. */
18
18
  slug?: string;
19
19
  /** New business category — lowercase slug from /v1/lookups/business-categories. Omit to leave unchanged. */
20
20
  business_category?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nizam-os/dashboard-sdk",
3
- "version": "5.2.0",
3
+ "version": "5.2.1",
4
4
  "description": "Nizam Dashboard API SDK for TypeScript / JavaScript.",
5
5
  "license": "MIT",
6
6
  "private": false,