Replies: 2 comments 2 replies
-
There are multiple security rules in the system. Maybe your route is being authorised or rejected before it reaches your I am not sure this is an issue. Thus, I am moving this temporarily to discussions. |
Beta Was this translation helpful? Give feedback.
-
I did the getOrder() method still the same issue, however, if I move the @RequiredPermission(resourceIdName = "Admin", permission = "Admin") at the controller level it works, here is the repo - https://github.com/anandjaisy/micronaut-customSecurityRule |
Beta Was this translation helpful? Give feedback.
-
am trying to implement the custom security rules with Micronaut 2.2.1, but it is not working.
Security Rules
Controller
Application.yml
AdminRequirement implements SecurityRule the override check() method is never executed, something I am missing.
Beta Was this translation helpful? Give feedback.
All reactions