@7365admin1/core 3.68.3-staging.316 → 3.68.3-staging.317

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.
@@ -0,0 +1,5 @@
1
+ ---
2
+ "@7365admin1/core": minor
3
+ ---
4
+
5
+ Invite Client: Seven365 staff choose the new client owner's role permissions with the modules (`permissions` on `POST /api/auth/invite/user`, only with `modules`, each inside them, never a console permission). Onboarding writes them on the client's own application owner role and records it as the organisation's `invitedRole`, so the owner's application membership gets exactly that role. Role writes for that application in that organisation stay within it (`*`/empty becomes the grant; wider strings are refused; Seven365 staff are not capped). Clients invited before this are unchanged. Kill switch: `CLIENT_INVITE_OWNER_PERMISSIONS=off`.
package/dist/index.d.ts CHANGED
@@ -11309,6 +11309,8 @@ type TVerificationMetadataV2 = {
11309
11309
  invitedByPropertyManagement?: boolean;
11310
11310
  /** A new client's modules, chosen by Seven365 on Invite Client. */
11311
11311
  modules?: string[];
11312
+ /** The new client owner's permissions in that application, chosen with the modules. */
11313
+ permissions?: string[];
11312
11314
  };
11313
11315
  /**
11314
11316
  * The one-time code an invitee types to prove they own the mailbox, held on the