EnforcePermissionsOptions
Options for enforcing permissions on an endpoint
| Property | Type | Description |
|---|
body? | unknown | Request body (for contextual checks like role changes) |
messageAuthorId? | string | Author ID of the message (for edit/delete checks) |
messageId? | string | Message ID being operated on |
targetRoleId? | string | Target role ID (for role management) |
targetUserId? | string | Target user ID (for moderation actions) |