IPermissionAccessResponse
Response from a permission check
Extends
Properties
| Property | Type | Notes |
|---|---|---|
| IPolicyCheck[] |
List of all the policies that were checked, and their responses For debugging / observability |
|
| Permission |
Permission being checked |
|
| Inherited | boolean |
Is the user allowed to perform the action |
| Inherited | string |
Code for the access response. Used for i18n and UX level messages |
| Inherited | PolicyResponse |
Reason for the access response |
| Optional Inherited | string |
Message with details access response. Typically used to return additional information about assertion failures |
Interface defined in packages/common/src/permissions/types/IPermissionAccessResponse.ts:9