Skip to content
Discussion options

You must be logged in to vote

Hi @llfrank21 ! Great questions about Flipt v2 authorization. Let me clarify based on the v2 implementation:

  1. Yes, resource is now scope in v2

You're correct - in v2, the request structure has changed from using resource/subject fields to using a scope field. This is a breaking change from v1.

  1. You'll only see environment and namespace scopes - this is by design

You're absolutely right in your observation. In v2, Flipt has intentionally simplified the authorization model to only have two scope types:

  • environment scope: Controls who can manage namespaces within an environment (create, delete namespaces)
  • namespace scope: Controls who can manage resources (flags, segments, rules, etc.) wi…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@llfrank21
Comment options

Answer selected by erka
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants