Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Make the token scopes POC production ready #42935

@kopancek

Description

@kopancek

Based on the RFC definition:

We have an open PR with a POC for token scopes in the API:

To make the POC production ready, we need to work on several subtasks:

  • Make the code more readable, understandable, better structured and following our conventions
  • Use graph-gophers/graphql with support for graphql directives
  • Add UI to be able to generate token with newly added scopes
  • Add the directive to more entities in graphql and decide which scopes each entity should have
  • Add proper tests and make sure it does not have a big performance hit on critical parts of the system
  • Define a process for token scope conventions
  • Add scope list to the schema, so only a specific list of scopes can be attached

/cc @sourcegraph/source/iam

Metadata

Metadata

Assignees

No one assigned

    Labels

    team/sourceTickets under the purview of Source - the one Source to graph it all

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions