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

Quick way to test if a user could access a route #56

Open
bigpresh opened this issue May 21, 2017 · 0 comments
Open

Quick way to test if a user could access a route #56

bigpresh opened this issue May 21, 2017 · 0 comments

Comments

@bigpresh
Copy link
Owner

After the discussion in #30, I suggested it might be useful to provide a method to easily check if the currently-logged-in user could access a specific route, if they wanted to, something like:

user_can_access_route( DELETE => '/user/:user_id' )

Raising this as a wishlist ticket for it, and closing the original.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant