Open DarKsandr opened 11 months ago
To help you, please submit an issue using a template that includes the version you are using
I would like to confirm that the usage of the can
method always results in a 403 error. This is due to Screen determining which method to call later than the can
middleware operates.
I have discovered a hacky way to make it work in this branch: compare/auth_middleware_policy, but I am not satisfied with this solution. I am open to any suggestions or alternatives you may have.
I wanted to use policy, but I always get 403 THIS ACTION IS UNAUTHORIZED.
But if you use policies in the screen itself, then everything works