Permission Grant
A capability-level consent surface that explains reach and duration before access is granted.
Grant repository write access?
The coding agent needs permission to edit the files required for this task.
Access includes
- • Read and edit files in src/components
- • Run pnpm validation commands
- • No access outside this repository
Duration: Until this task ends
Installation
Add the component source directly to your project.
pnpm dlx shadcn@latest add https://pastaui.com/r/permission-grant.jsonAPI reference
Permission Grant
| Prop | Type | Default | Description |
|---|---|---|---|
capability | string | — | Names the requested ongoing capability. |
scope | string[] | — | Spells out the reach of the grant. |
duration | string | This session | States how long access lasts. |