feat: option to disallow public org registration (#6917)

* 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

* lint
This commit is contained in:
Elio Bischof
2023-11-22 10:29:38 +01:00
committed by GitHub
parent 5fa596a871
commit 76fe032b5f
45 changed files with 1280 additions and 123 deletions

View File

@@ -31,6 +31,8 @@ Errors:
Limits:
NotFound: Лимитът не е намерен
NoneSpecified: Не са посочени лимити
Restrictions:
NoneSpecified: Не са посочени ограничения
Language:
NotParsed: Езикът не можа да бъде анализиран синтактично
OIDCSettings:

View File

@@ -31,6 +31,8 @@ Errors:
Limits:
NotFound: Limity nebyly nalezeny
NoneSpecified: Nebyly určeny žádné limity
Restrictions:
NoneSpecified: Nebyla určena žádná omezení
Language:
NotParsed: Jazyk nelze určit
OIDCSettings:

View File

@@ -31,6 +31,8 @@ Errors:
Limits:
NotFound: Limits konnten nicht gefunden werden
NoneSpecified: Keine Limits angegeben
Restrictions:
NoneSpecified: Keine Restriktionen angegeben
Language:
NotParsed: Sprache konnte nicht gemapped werden
OIDCSettings:

View File

@@ -31,6 +31,8 @@ Errors:
Limits:
NotFound: Limits not found
NoneSpecified: No limits specified
Restrictions:
NoneSpecified: No restrictions specified
Language:
NotParsed: Could not parse language
OIDCSettings:

View File

@@ -31,6 +31,8 @@ Errors:
Limits:
NotFound: Límite no encontrado
NoneSpecified: No se especificaron límites
Restrictions:
NoneSpecified: No se especificaron restricciones
Language:
NotParsed: No pude analizar el idioma
OIDCSettings:

View File

@@ -31,6 +31,8 @@ Errors:
Limits:
NotFound: Limites non trouvée
NoneSpecified: Aucune limite spécifiée
Restrictions:
NoneSpecified: Aucune restriction spécifiée
Language:
NotParsed: Impossible d'analyser la langue
OIDCSettings:

View File

@@ -31,6 +31,8 @@ Errors:
Limits:
NotFound: Limite non trovato
NoneSpecified: Nessun limite specificato
Restrictions:
NoneSpecified: Nessuna restrizione specificata
Language:
NotParsed: Impossibile analizzare la lingua
OIDCSettings:

View File

@@ -31,6 +31,8 @@ Errors:
Limits:
NotFound: 制限が見つかりません
NoneSpecified: 制限が指定されていません
Restrictions:
NoneSpecified: 制限が指定されていません
Language:
NotParsed: 言語のパースに失敗しました
OIDCSettings:

View File

@@ -31,6 +31,8 @@ Errors:
Limits:
NotFound: Лимитот не е пронајден
NoneSpecified: Не се наведени лимити
Restrictions:
NoneSpecified: Не се наведени ограничувања
Language:
NotParsed: Јазикот не може да се парсира
OIDCSettings:

View File

@@ -31,6 +31,8 @@ Errors:
Limits:
NotFound: Limit nie znaleziony
NoneSpecified: Nie określono limitów
Restrictions:
NoneSpecified: Nie określono ograniczeń
Language:
NotParsed: Nie można przeanalizować języka
OIDCSettings:

View File

@@ -31,6 +31,8 @@ Errors:
Limits:
NotFound: Limite não encontrado
NoneSpecified: Nenhum limite especificado
Restrictions:
NoneSpecified: Nenhuma restrição especificada
Language:
NotParsed: Não foi possível analisar o idioma
OIDCSettings:

View File

@@ -28,6 +28,11 @@ Errors:
RemoveFailed: Объект не удалось удалить
Limit:
ExceedsDefault: Лимит превышает лимит по умолчанию
Limits:
NotFound: Лимиты не найдены
NoneSpecified: Не указаны лимиты
Restrictions:
NoneSpecified: Не указаны ограничения
Language:
NotParsed: Не удалось разобрать язык
OIDCSettings:

View File

@@ -31,6 +31,8 @@ Errors:
Limits:
NotFound: 未找到限制
NoneSpecified: 未指定限制
Restrictions:
NoneSpecified: 未指定限制
Language:
NotParsed: 无法解析语言
OIDCSettings: