Skip to content

Conversation

@thiagomini
Copy link

@thiagomini thiagomini commented Jan 21, 2026

Allows checking for multiple fields with the ability.can and its counterpart ability.cannot, useful for programmatic checking update DTOs. Example:

ability.can('update', 'Article', ['title', 'description'])

closes #1151

…or array of fields with 'can'

closes Allow checking for multiple fields at the same time
Fixes stalniy#1151
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow checking for multiple fields at the same time

1 participant