vuu
vuu copied to clipboard
Support getting authenticated principal to be able to enforce permission on row
Feature Request
Description of Problem:
Currently there is a RowPermissionChecker which allows role based permission enforcing at row level It needs to know the current user's role
Currently using the username from the login in request
Potential Solutions:
- Need to set it Authenticated Principal on the ClientSession similar to https://docs.spring.io/spring-security/site/docs/current/api/org/springframework/security/core/AuthenticatedPrincipal.html
Additional Context:
- RequestProcessor.createSession is where session is created
- Currently session takes in user name from the login request (from ui) and set it on ClientSessionId