zitadel/internal/api/grpc/server/middleware
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_interceptor.go perf: project quotas and usages (#6441) 2023-09-15 17:00:12 +02:00
activity_interceptor.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
auth_interceptor_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
auth_interceptor.go feat: add SYSTEM_OWNER role (#6765) 2023-10-25 15:10:45 +00:00
cache_interceptor.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
call_interceptor.go perf: query data AS OF SYSTEM TIME (#5231) 2023-02-27 22:36:43 +01:00
error_interceptor_test.go fix: translation (#647) 2020-08-28 09:44:43 +02:00
error_interceptor.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
instance_interceptor_test.go feat(api): feature flags (#7356) 2024-02-28 10:55:54 +02:00
instance_interceptor.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
limits_interceptor.go feat: block instances (#7129) 2024-01-17 10:16:48 +00:00
metrics_interceptor.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
mock_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
quota_interceptor.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
service_interceptor.go feat: add new api services (#5619) 2023-04-11 15:37:42 +02:00
tracing.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
translation_interceptor.go feat: restrict languages (#6931) 2023-12-05 11:12:01 +00:00
translator.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
validation_interceptor.go chore(deps): bump google.golang.org/grpc from 1.40.0 to 1.41.0 (#2427) 2021-09-27 17:14:40 +02:00