Function: hasCoarsePermission()
function hasCoarsePermission(
snapshot: PermissionSnapshot,
action: `${string}.${string}`,
now?: Date
): boolean;Defined in: shared/access/kernel.ts:481
Coarse, resource-free capability check used to derive a
CapabilitySnapshot: does an unconstrained grant contain the action?
Grants with selectors/conditions do not qualify. Advisory only — resource-sensitive checks
must still go through evaluateAccess server-side.
Parameters
| Parameter | Type |
|---|---|
snapshot | PermissionSnapshot |
action | `${string}.${string}` |
now | Date |
Returns
boolean