Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wip] ApiTokenV0 #19225

Closed
wants to merge 7 commits into from
Closed

[wip] ApiTokenV0 #19225

wants to merge 7 commits into from

Conversation

geropl
Copy link
Member

@geropl geropl commented Dec 8, 2023

Description

Summary generated by Copilot

🤖[deprecated] Generated by Copilot at a4521b4

This pull request adds support for fine-grained authorization (FGA) for Gitpod tokens, which are a new type of personal access token that can have specific scopes and relations to resources. It also refactors some existing code to use the new FGA-backed tokens and the SubjectId class, which represents the subject identifier of a token or a user. It updates the Spicedb schema, the OAuth2 server library, the BearerAuth class, the Authorizer class, and various services and controllers to handle the FGA logic and the subjectId property in requests.

Related Issue(s)

Fixes #

How to test

Documentation

Preview status

Gitpod was successfully deployed to your preview environment.

Build Options

Build
  • /werft with-werft
    Run the build with werft instead of GHA
  • leeway-no-cache
  • /werft no-test
    Run Leeway with --dont-test
Publish
  • /werft publish-to-npm
  • /werft publish-to-jb-marketplace
Installer
  • analytics=segment
  • with-dedicated-emulation
  • workspace-feature-flags
    Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
  • /werft with-local-preview
    If enabled this will build install/preview
  • /werft with-preview
  • /werft with-large-vm
  • /werft with-gce-vm
    If enabled this will create the environment on GCE infra
  • /werft preemptible
    Saves cost. Untick this only if you're really sure you need a non-preemtible machine.
  • with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh. If enabled, with-preview and with-large-vm will be enabled.
  • with-monitoring

/hold

@geropl
Copy link
Member Author

geropl commented Dec 8, 2023

/gh run recreate-vm=true

Comment triggered a workflow run

Started workflow run: 7143713375

  • recreate_vm: true

Copy link

stale bot commented Mar 13, 2024

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the meta: stale This issue/PR is stale and will be closed soon label Mar 13, 2024
@github-actions github-actions bot closed this May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants