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

Distinguish auth user from workspace owner throughout stack #41

Open
sffc opened this issue Jan 5, 2021 · 0 comments
Open

Distinguish auth user from workspace owner throughout stack #41

sffc opened this issue Jan 5, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@sffc
Copy link
Contributor

sffc commented Jan 5, 2021

When using buckets, collaborative workspaces, and projects, there are two users involved: the currently authenticated user, and the user who owns the bucket, workspace, or project. Right now, those two users are imperfectly separated throughout the stack, and it's unclear which type of user is given which capabilities.

Examples of operations where the auth user is correct:

  1. Signing in and out
  2. Changing a password
  3. Enable sharing for a workspace (if privileges are correct)
  4. Delete a bucket or project
  5. Patreon subscriptions

Examples of operations where the workspace owner is correct:

  1. Name at the top of the page of a shared workspace
  2. Tier and command timeout
  3. Target for Git commits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant