Hello Sourcegraph community,
I’m looking for a way to implement more granular access control in our Sourcegraph instance. Specifically, I need to create access tokens that are limited to either specific groups or repositories.
- Use case: Using Cody CLI to run some AI workloads in a containerized environment. Using someone’s personal token for use with Cody CLI has significant drawback (what if the individual providing the token leaves the company? etc.)
Questions:
- Is it possible to create repository-specific or group-based access tokens? as opposed to the personal token?
- If not, what’s the best alternative for implementing granular access control?
- Are there any upcoming features that might address this need?
Any guidance or best practices would be greatly appreciated.
Thank you!