API endpoints to test if user have access to particular repository

Description

While creating 3rd party connections to Gitlab with Gitlab API we often need to vote if particular user have access to repository. We need to get project members and their access, do same with group membership... Can we introduce API endpoint to get stacked information about what kind of access level given user have?

Proposal

The endpoint to call as me like GET /projects/:id/access which will respond with access level to project. This endpoint would wrap project/group/shared group membership and give information about what access level particular user have.

Links / references

Current method od getting project access level can be made only with: https://docs.gitlab.com/ce/api/members.html

~"feature proposal"

Assignee Loading
Time tracking Loading