Grant access to one app
people_grantCreate or replace one person's time-limited access for a single private HTTP/file app, preserving other grants and reactivating expired or revoked access.
Instructions
Create or replace one person's time-limited grant for one private HTTP/file app; return the person view, app and revoked=false. Use people_grant to allow one app while preserving all other grants; people_update can replace the whole app set, and people_revoke denies one app. Replacing an expired or revoked grant re-activates it without regrant; use extend to move an existing deadline. If the app was not yet people-scoped, it becomes scoped: callers without a grant or explicit legacy allow rule are denied. Reduced scopes require an existing person; only the owner can create one. Cannot clear an owner revocation. Changes local state only, preserves invitations and creates no network invitation. Lifetime must be at least 1h and obey audience policy, scope maximum and binding expiry; never is refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| for | Yes | Lifetime of at least 1h using the shared grammar and presets, within audience policy, scope maximum and binding expiry; never is refused. | |
| who | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| person | Yes | ||
| revoked | Yes |