Hello, all!
I'm trying to create an Access Control List using a Controller Filter.
I want to check the permissions based on the Route Name. Because the URI could be updated and this would not affect the Permissions.
I ran the code and did not find a practical way to get the name of the current route (name and not URI).
Any suggestion?
Thank you in advance.
I'm trying to create an Access Control List using a Controller Filter.
I want to check the permissions based on the Route Name. Because the URI could be updated and this would not affect the Permissions.
I ran the code and did not find a practical way to get the name of the current route (name and not URI).
Any suggestion?
Thank you in advance.