zitadel/internal/api/authz
Tim Möhlmann 26d1563643
feat(api): feature flags (#7356)
* feat(api): feature API proto definitions

* update proto based on discussion with @livio-a

* cleanup old feature flag stuff

* authz instance queries

* align defaults

* projection definitions

* define commands and event reducers

* implement system and instance setter APIs

* api getter implementation

* unit test repository package

* command unit tests

* unit test Get queries

* grpc converter unit tests

* migrate the V1 features

* migrate oidc to dynamic features

* projection unit test

* fix instance by host

* fix instance by id data type in sql

* fix linting errors

* add system projection test

* fix behavior inversion

* resolve proto file comments

* rename SystemDefaultLoginInstanceEventType to SystemLoginDefaultOrgEventType so it's consistent with the instance level event

* use write models and conditional set events

* system features integration tests

* instance features integration tests

* error on empty request

* documentation entry

* typo in feature.proto

* fix start unit tests

* solve linting error on key case switch

* remove system defaults after discussion with @eliobischof

* fix system feature projection

* resolve comments in defaults.yaml

---------

Co-authored-by: Livio Spring <livio.a@gmail.com>
2024-02-28 10:55:54 +02:00
..
access_token_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
access_token.go feat: add SYSTEM_OWNER role (#6765) 2023-10-25 15:10:45 +00:00
api_token_verifier.go feat: add SYSTEM_OWNER role (#6765) 2023-10-25 15:10:45 +00:00
authorization_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
authorization.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
config.go feat: user v2alpha email API (#5708) 2023-04-25 09:02:29 +02:00
context_mock.go feat(api): add OIDC session service (#6157) 2023-07-10 13:27:00 +00:00
context.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
detach.go perf: query data AS OF SYSTEM TIME (#5231) 2023-02-27 22:36:43 +01:00
instance_test.go feat(api): feature flags (#7356) 2024-02-28 10:55:54 +02:00
instance.go feat(api): feature flags (#7356) 2024-02-28 10:55:54 +02:00
membertype_enumer.go feat: add SYSTEM_OWNER role (#6765) 2023-10-25 15:10:45 +00:00
permissions_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
permissions.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
session_token.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
system_token.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00