Replies: 1 comment 1 reply
-
Hi @llfrank21 ! Great questions about Flipt v2 authorization. Let me clarify based on the v2 implementation:
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.
You're absolutely right in your observation. In v2, Flipt has intentionally simplified the authorization model to only have two scope types:
There are no longer separate flag or segment resource types in v2 authorization. All flag and segment operations are authorized at the namespace level with the For example:
This simplification means you control access at the namespace level. If a user has create permission for a namespace, they can create any resource type (flags, The v2 authorization model follows this hierarchy:
I've got a PR up on the docs repo to hopefully make this more clear in the future and to describe the differences between v1 and v2 authz: flipt-io/docs#353 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm currently trying to have a self hosted Flipt server, and I have questions regarding authorization.
input request
, is theresource
field changed toscope
now?namespace
andenvironment
for thisscope
field. I never see a request withscope
offlag
orsegment
. Is it possible that they are not implemented yet?Beta Was this translation helpful? Give feedback.
All reactions