79273268

Date: 2024-12-11 21:49:45
Score: 1.5
Natty:
Report link

You should use the hasAuthority annotation instead.

@PreAuthorize("hasAuthority('AGNI_OIMIVR')")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hamza Naceur