@7365admin1/core 3.99.1-staging.375 → 3.99.1-staging.377

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": patch
3
+ ---
4
+
5
+ `GET /api/organizations?search=` now matches part of a client's name or e-mail, case-insensitively (escaped, so regex characters are literal). It was a whole-word `$text` search, so typing part of a name found nothing and a full name returned unrelated clients - the Super Admin Client details picker looked broken. The non-staff scope is still ANDed in.
@@ -0,0 +1,5 @@
1
+ ---
2
+ "@7365admin1/core": minor
3
+ ---
4
+
5
+ Only the site's owning organisation (or Seven365 Super Admin) can change a site's core details: name, address, category, timezone and property details (`PUT /customer-sites/:id`), the Site Information page (`PATCH /sites/information/id/:id`), and address/timezone on `PATCH /sites/id/:id`. A service provider that serves the site is refused with 403 "This site belongs to <owner>. Only they can change its details." It can still remove the site from its own Sites list. `GET /sites/:id` now also returns `ownerOrgName` and `detailsEditable`.