Skip to content

[server/FGA] added make_admin permission #18371

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

Closed
wants to merge 2 commits into from
Closed

Conversation

svenefftinge
Copy link
Member

@svenefftinge svenefftinge commented Jul 27, 2023

Description

Adsda an explicit make_admin permission, so only admins can make other users admin.

Summary generated by Copilot

🤖 Generated by Copilot at 29f38f9

This pull request implements a new authorization system based on spicedb, which supports installation admins, organization-owned users, and spicedb relationships. It refactors and updates the authorizer.ts, user-service.ts, and organization-service.ts modules, and adds new files and tests for the SpiceDBAuthorizer and RelationshipUpdater classes. It also modifies some interfaces, functions, and configurations in the gitpod-protocol, projects-service, and tsconfig.json files.

Related Issue(s)

Fixes #

How to test

Documentation

Preview status

gitpod:summary

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
  • /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
  • with-integration-tests=all
    Valid options are all, workspace, webapp, ide, jetbrains, vscode, ssh
  • with-monitoring

/hold

@svenefftinge
Copy link
Member Author

i have squashed it into #18369

@svenefftinge svenefftinge deleted the se/setAdmin branch August 21, 2023 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants