Skip to content
OpenAppPhysical access, fully managed
Login

Allowed hold modes

Type
hold_allowed_modes
Category
Holds
Enforced at
Authoring-time
Tiers
OrgIntegrationDevice
Enforcement
Enforce
Default
Not configured — both hold-open and hold-closed are allowed.

Intersects the hold modes a bound principal may set. Use this to allow hold-closed (stay locked / stay off) without allowing hold-open (stay unlocked / stay on), or the reverse. Opening class still forbids hold-closed and hold-open on means_of_egress and fire_door_assembly regardless of this policy. See [Life safety and egress](/docs/guides/access-control-architecture/life-safety-and-egress/).

When it is enforced

Evaluated when someone creates or updates an invitation, hold, or share. Requests that would exceed the limit are rejected — they are not silently rewritten.

Where to set it

Settings → Policies (org), the integration Policies tab, or — on PalGate — the device steward Policies tab.

Policies never grant access. See thepolicies architecture guidefor how org, integration, and device tiers combine.

Arguments

The config object on create/update. Row fields outsideconfig are enforcement (this type acceptsenforce; any other value is rejected with 400), enabled (disabled rows never apply), and capability.

NameTypeRequiredValuesDescription
modesstring[]Yes
hold_openhold_closed
Non-empty allow-list of hold modes. Combination intersects the sets.
applies_tostring[]No
adminmemberresidentall
Principal kinds this row binds, as a non-empty array of admin, member, resident, all. Other kinds, a bare string, and empty arrays are rejected. `all` matches every kind this policy can bind. A caller is every kind it is at once, and a row binds when any of them is listed. When omitted, the default applies. Default: Org/integration: member and resident. Device-tier: everyone, including admins.
outputstring or integerNo—Device policies only. One output of the device, as the device reports it (PalGate `1` or `2`, a Shelly, Tasmota, or Waveshare channel index). When set, the policy binds only actions on that output; when omitted, every output of the device. An output that is not one of the device’s outputs, or `output` on an organization or integration policy, is rejected. If an action’s output cannot be identified, an output-scoped policy denies it.

How overlapping rows combine

Intersection of modes arrays across applicable rows.

Example

A resident can hold a door closed, but cannot hold it open. An admin (unless included in applies_to) is unaffected.

config
{
"modes": [
"hold_closed"
]
}

Integrations

This type is documented on these connectors: