@7365admin1/layer-common 4.97.1-staging.615 → 4.97.1-staging.616

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.
@@ -830,6 +830,16 @@ export default function useSecurityPermission() {
830
830
  description:
831
831
  "Allows the user to view site visits across the sites they can reach, including other executives' visits.",
832
832
  },
833
+ "manage-ops-sites": {
834
+ check: true,
835
+ description:
836
+ "Allows the user to add sites that are not on iSecure365 to Security Ops, edit or deactivate them, and remove people from a site.",
837
+ },
838
+ "work-at-ops-sites": {
839
+ check: true,
840
+ description:
841
+ "Puts the user on every Ops site of the company automatically, including sites added later. They can be removed from a single site in Ops Settings.",
842
+ },
833
843
  },
834
844
  // NEW. Seeing the CCTV wall, as distinct from setting cameras up
835
845
  // (`site-settings:manage-cctv-camera`).
@@ -355,7 +355,19 @@ export const PERMISSIONS = {
355
355
  // administers this site, not that they run security at it - measured
356
356
  // 2026-10-13, every wildcard holder at a live site was an org owner, a test
357
357
  // account or a service provider's administrator.
358
- "security-ops": ["start-site-visit", "see-all-site-visits"],
358
+ //
359
+ // `manage-ops-sites` and `work-at-ops-sites` (2026-10-30): a security company
360
+ // adds its own sites, including ones not on iSecure365, in Security Ops, Ops
361
+ // Settings. The first lets a role add, edit and deactivate those sites and
362
+ // remove people from one; the second puts the holder on every Ops site of
363
+ // their company, computed by API-core's reach rule rather than copied
364
+ // memberships, so a later hire needs nothing per site.
365
+ "security-ops": [
366
+ "start-site-visit",
367
+ "see-all-site-visits",
368
+ "manage-ops-sites",
369
+ "work-at-ops-sites",
370
+ ],
359
371
  // Owner answer Q9, 2026-09-11: seeing the CCTV wall. Distinct from
360
372
  // `site-settings:manage-cctv-camera`, which is camera setup.
361
373
  "cctv-mgmt": ["see-all-cctv", "view-recordings"],
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@7365admin1/layer-common",
3
3
  "license": "MIT",
4
4
  "type": "module",
5
- "version": "4.97.1-staging.615",
5
+ "version": "4.97.1-staging.616",
6
6
  "author": "7365admin1",
7
7
  "main": "./nuxt.config.ts",
8
8
  "//files": "What a consumer extending this layer actually loads. Without this npm ships the whole working tree - the changesets, the CI workflows, the render harness in tools/ and any scratch directory that happened to exist at publish time. Nuxt resolves a layer by directory, so every runtime directory below has to stay listed; adding a new top-level runtime directory means adding it here too.",