Toggle a feature module ENABLED on this floor (Floor-Admin)
floorcast_set_feature_enabledFloor-Admin (operator-on-this-floor) toggles a module in the floor's ENABLED set; a module must be AVAILABLE on the floor to enable. PERSISTS the tenant record (inc-6). Runs the FULL authz + availability gate first: a non-Floor-Admin, or enabling a module not available on the floor, gets { ok:false, reason:'forbidden' } (no write). A live KV write failure surfaces { ok:false, reason:'write-failed', error } (no 500). On success returns { ok:true, record } (the persisted next-record). Scope: a valid floor-bound token. Args: { module, enabled }. floorcast_effective_features reflects the toggle on the next read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module | Yes | Module id (one of the 8 enum modules). | |
| enabled | Yes | true to enable, false to disable. |