nexus icon indicating copy to clipboard operation
nexus copied to clipboard

Add an endpoint to check if the user has query access on a particular view

Open imsdu opened this issue 9 months ago • 1 comments

Motivation In Fusion, to check if a user can query a view it currently has to fetch the acls related to the current user and check if the current permission matches in the response.

This duplicates a check that is already done on the Delta side and is source of confusion/errors. The idea is to introduce a new endpoint that would allow to check if a user has the expected permission on the view

Acceptance criteria

  1. When a user calls the endpoint for this permission, a 2XX is returned if he has the permission, 403 otherwise
  2. No response body is returned

Not in scope

  1. Composite views

imsdu avatar Sep 26 '23 10:09 imsdu