BlueBrain / BlueBrain/nexus

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

Open
#4,304 2 comments 0 reactions 1 assignee Claimed by @shinyhappydan View on GitHub
delta enhancement
Dominant language
Scala
Stars
301
Forks
76
PR merge metrics
No merged PRs in 30d

Description

**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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.