Skip to content

Conversation

@imhayatunnabi
Copy link
Contributor

The package provides route macro helpers for role() and permission(), but not for roleOrPermission(), creating an inconsistent API. This makes the developer experience inconsistent when trying to use the fluent route API for role-or-permission checks.

Github Issue: #2892

@drbyte drbyte linked an issue Nov 10, 2025 that may be closed by this pull request
@drbyte
Copy link
Collaborator

drbyte commented Nov 10, 2025

Thanks

@drbyte drbyte merged commit 70b12bf into spatie:main Nov 10, 2025
43 checks passed
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.

Missing roleOrPermission() route macro

2 participants