vuu icon indicating copy to clipboard operation
vuu copied to clipboard

Support getting authenticated principal to be able to enforce permission on row

Open naleeha opened this issue 1 year ago • 0 comments

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

naleeha avatar Apr 17 '24 14:04 naleeha