moderate-tomatoM
Refine10mo ago
4 replies
moderate-tomato

How to automatically pass parameter to CanParams in Access control

I have an application with routing enabled and customerId a parameter of the routes :
ex : /customer/:customerId/users or /customer/:customerId/locations/:locationId
And I want the :customerId parameter of route to be used automatically in CanParams.params of my accessControlProvider to apply customer permissions.
Was this page helpful?