Session.permits ​

Contract 2.0.0 · package sha256 a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e · generated from configurator-runtime.d.ts by services/onsite-scripter/scripts/build-contract-docs.mjs; edit the source, not this file.

Method of Session · inherited by testing.FakeSession · stable · since 2.0.0 · called as session.permits

ts
permits(capability: 'export' | 'labs.geometry.read' | (string & {})): boolean;

Whether this account may use a gated capability ('export', 'labs.geometry.read'). Sync. Unknown ids answer false.

Generic-API test (spec 3.1) ​

Rule Result
1. Neutral name pass: permits names no product
2. A precedent pass: Babylon.js GLTF2Export (row K39); USDZ file format (row K39)
3. Two apps, or labs pass: 9 apps (ledger: app-4f16d2f6da, app-510d750508, app-bcb7ef21da, app-ceb4eccc72, app-f07e9033d9, app-fb16dd1985, app-fc07850558, app-fc306ec3dc and 1 more; fleet cross-check: app-4f16d2f6da, app-510d750508, app-ceb4eccc72, app-f07e9033d9, app-fb16dd1985, app-fc07850558)
4. The cheaper fix first decided per need in Appendix B: rows K39 at tier stable (a member only where no rule, data, asset or app code serves the need)