Add permission-evaluator module: hasPermission() with PermissionEvaluator and @EnableMethodSecurity
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01YPgGH6aMbSLANL3E2HHmS6
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
3 x get(1) with cache: 4 loads (uncached it is 6)
|
||||
alice updateTitle(1) -> ALLOWED
|
||||
owner of doc 1 is now bob
|
||||
alice updateTitle(1) -> ALLOWED (cached allow)
|
||||
after evictAll() -> DENIED (AuthorizationDeniedException: Access Denied)
|
||||
Reference in New Issue
Block a user