Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field option can?/1 doesn't work for resource actions #891

Open
krns opened this issue Feb 21, 2025 · 0 comments
Open

Field option can?/1 doesn't work for resource actions #891

krns opened this issue Feb 21, 2025 · 0 comments

Comments

@krns
Copy link
Member

krns commented Feb 21, 2025

Describe the bug

The field option can?/1 is not taken into account for resource actions (only for index, show and edit). The field option visible works as expected. This raises the question of how the two options differ?

To stay consistent with convention, we should rename visible to visible?.

@krns krns changed the title can?/1 doesn't work for resource actions Field option can?/1 doesn't work for resource actions Feb 21, 2025
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

No branches or pull requests

1 participant