zitadel/internal/api/grpc/server/middleware
Elio Bischof dd33538c0a
feat: restrict languages (#6931)
* feat: return 404 or 409 if org reg disallowed

* fix: system limit permissions

* feat: add iam limits api

* feat: disallow public org registrations on default instance

* add integration test

* test: integration

* fix test

* docs: describe public org registrations

* avoid updating docs deps

* fix system limits integration test

* silence integration tests

* fix linting

* ignore strange linter complaints

* review

* improve reset properties naming

* redefine the api

* use restrictions aggregate

* test query

* simplify and test projection

* test commands

* fix unit tests

* move integration test

* support restrictions on default instance

* also test GetRestrictions

* self review

* lint

* abstract away resource owner

* fix tests

* configure supported languages

* fix allowed languages

* fix tests

* default lang must not be restricted

* preferred language must be allowed

* change preferred languages

* check languages everywhere

* lint

* test command side

* lint

* add integration test

* add integration test

* restrict supported ui locales

* lint

* lint

* cleanup

* lint

* allow undefined preferred language

* fix integration tests

* update main

* fix env var

* ignore linter

* ignore linter

* improve integration test config

* reduce cognitive complexity

* compile

* check for duplicates

* remove useless restriction checks

* review

* revert restriction renaming

* fix language restrictions

* lint

* generate

* allow custom texts for supported langs for now

* fix tests

* cleanup

* cleanup

* cleanup

* lint

* unsupported preferred lang is allowed

* fix integration test

* finish reverting to old property name

* finish reverting to old property name

* load languages

* refactor(i18n): centralize translators and fs

* lint

* amplify no validations on preferred languages

* fix integration test

* lint

* fix resetting allowed languages

* test unchanged restrictions
2023-12-05 11:12:01 +00:00
..
access_interceptor.go perf: project quotas and usages (#6441) 2023-09-15 17:00:12 +02:00
activity_interceptor.go fix: add https status to activity log (#6978) 2023-11-28 16:56:29 +01:00
auth_interceptor_test.go feat: add SYSTEM_OWNER role (#6765) 2023-10-25 15:10:45 +00: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 chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
instance_interceptor_test.go feat: add quotas (#4779) 2023-02-15 02:52:11 +01:00
instance_interceptor.go feat: restrict languages (#6931) 2023-12-05 11:12:01 +00:00
metrics_interceptor.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
mock_test.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
quota_interceptor.go feat: add SYSTEM_OWNER role (#6765) 2023-10-25 15:10:45 +00: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 feat: restrict languages (#6931) 2023-12-05 11:12:01 +00: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