Skip to content

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

@bigpresh

Description

@bigpresh

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions