How do I combine multi-tenancy URI approach and accessProvider in Refine?
I have followed multi-tenancy guide, adding the tenantId into the route path. This works fine I am able to retrieve tenantId within my components.
I am though unable to restrict my routes based on tenantId.
When my custom accessProvider gets called it is not supplied with full route including tenantId and I cannot check if the user has access to a particular tenant route.
P.S.:When the sider component calls my accessProvider - everything as expected the route is part of params.resource object.
I am though unable to restrict my routes based on tenantId.
When my custom accessProvider gets called it is not supplied with full route including tenantId and I cannot check if the user has access to a particular tenant route.
P.S.:When the sider component calls my accessProvider - everything as expected the route is part of params.resource object.
