Closed VictorioBerra closed 2 years ago
I did the following:
[CasbinAuthorize("PageTwo", "write")] public class PageTwoModel : PageModel { //....
But no matter what I still get access to the razor page.
Does this not work with Razor Pages?
@sagilio
@sagilio @xcaptain @huazhikui
I was missing UseCasbinAuthorization().
I did the following:
But no matter what I still get access to the razor page.
Does this not work with Razor Pages?