feat(login): use default org for login without provided org context (#6625)

* start feature flags

* base feature events on domain const

* setup default features

* allow setting feature in system api

* allow setting feature in admin api

* set settings in login based on feature

* fix rebasing

* unit tests

* i18n

* update policy after domain discovery

* some changes from review

* check feature and value type

* check feature and value type
This commit is contained in:
Livio Spring
2023-09-29 10:21:32 +02:00
committed by GitHub
parent d01f4d229f
commit 68bfab2fb3
41 changed files with 875 additions and 38 deletions

View File

@@ -522,6 +522,10 @@ Errors:
Token:
Invalid: Токенът е невалиден
Expired: Токенът е изтекъл
Feature:
NotExisting: Функцията не съществува
TypeNotSupported: Типът функция не се поддържа
InvalidValue: Невалидна стойност за тази функция
AggregateTypes:
action: Действие
@@ -532,6 +536,8 @@ AggregateTypes:
user: Потребител
usergrant: Предоставяне на потребител
quota: Квота
feature: Особеност
EventTypes:
user:
added: Добавен потребител

View File

@@ -505,6 +505,10 @@ Errors:
Invalid: Token ist ungültig
Expired: Token ist abgelaufen
InvalidClient: Token wurde nicht für diesen Client ausgestellt
Feature:
NotExisting: Feature existiert nicht
TypeNotSupported: Feature Typ wird nicht unterstützt
InvalidValue: Ungültiger Wert für dieses Feature
AggregateTypes:
action: Action
@@ -515,6 +519,7 @@ AggregateTypes:
user: Benutzer
usergrant: Benutzerberechtigung
quota: Kontingent
feature: Feature
EventTypes:
user:

View File

@@ -505,6 +505,10 @@ Errors:
Invalid: Token is invalid
Expired: Token is expired
InvalidClient: Token was not issued for this client
Feature:
NotExisting: Feature does not exist
TypeNotSupported: Feature type is not supported
InvalidValue: Invalid value for this feature
AggregateTypes:
action: Action
@@ -515,6 +519,7 @@ AggregateTypes:
user: User
usergrant: User grant
quota: Quota
feature: Feature
EventTypes:
user:

View File

@@ -505,6 +505,10 @@ Errors:
Invalid: El token no es válido
Expired: El token ha caducado
InvalidClient: El token no ha sido emitido para este cliente
Feature:
NotExisting: La característica no existe
TypeNotSupported: El tipo de característica no es compatible
InvalidValue: Valor no válido para esta característica
AggregateTypes:
action: Acción
@@ -515,6 +519,7 @@ AggregateTypes:
user: Usuario
usergrant: Concesión de usuario
quota: Cuota
feature: Característica
EventTypes:
user:

View File

@@ -505,6 +505,10 @@ Errors:
Invalid: Le jeton n'est pas valide
Expired: Le jeton est expiré
InvalidClient: Le token n'a pas été émis pour ce client
Feature:
NotExisting: La fonctionnalité n'existe pas
TypeNotSupported: Le type de fonctionnalité n'est pas pris en charge
InvalidValue: Valeur non valide pour cette fonctionnalité
AggregateTypes:
action: Action
@@ -515,6 +519,7 @@ AggregateTypes:
user: Utilisateur
usergrant: Subvention de l'utilisateur
quota: Contingent
feature: Fonctionnalité
EventTypes:
user:

View File

@@ -505,6 +505,10 @@ Errors:
Invalid: Token non è valido
Expired: Token è scaduto
InvalidClient: Il token non è stato emesso per questo cliente
Feature:
NotExisting: La funzionalità non esiste
TypeNotSupported: Il tipo di funzionalità non è supportato
InvalidValue: Valore non valido per questa funzionalità
AggregateTypes:
action: Azione
@@ -515,6 +519,7 @@ AggregateTypes:
user: Utente
usergrant: Sovvenzione utente
quota: Quota
feature: Funzionalità
EventTypes:
user:

View File

@@ -494,6 +494,10 @@ Errors:
Invalid: トークンが無効です
Expired: トークンの有効期限が切れている
InvalidClient: トークンが発行されていません
Feature:
NotExisting: 機能が存在しません
TypeNotSupported: 機能タイプはサポートされていません
InvalidValue: この機能には無効な値です
AggregateTypes:
action: アクション
@@ -504,6 +508,7 @@ AggregateTypes:
user: ユーザー
usergrant: ユーザーグラント
quota: クォータ
feature: 特徴
EventTypes:
user:

View File

@@ -505,6 +505,10 @@ Errors:
Invalid: токенот е неважечки
Expired: токенот е истечен
InvalidClient: Токен не беше издаден на овој клиент
Feature:
NotExisting: Функцијата не постои
TypeNotSupported: Типот на функција не е поддржан
InvalidValue: Неважечка вредност за оваа функција
AggregateTypes:
action: Акција
@@ -515,6 +519,7 @@ AggregateTypes:
user: Корисник
usergrant: Овластување на корисник
quota: Квота
feature: Карактеристика
EventTypes:
user:

View File

@@ -505,6 +505,10 @@ Errors:
Invalid: Token jest nieprawidłowy
Expired: Token wygasł
InvalidClient: Token nie został wydany dla tego klienta
Feature:
NotExisting: Funkcja nie istnieje
TypeNotSupported: Typ funkcji nie jest obsługiwany
InvalidValue: Nieprawidłowa wartość dla tej funkcji
AggregateTypes:
action: Działanie
@@ -515,6 +519,7 @@ AggregateTypes:
user: Użytkownik
usergrant: Uprawnienie użytkownika
quota: Limit
feature: Funkcja
EventTypes:
user:

View File

@@ -499,6 +499,10 @@ Errors:
WrongLoginClient: A solicitação de autenticação foi criada por outro cliente de login
OIDCSession:
RefreshTokenInvalid: O Refresh Token é inválido
Feature:
NotExisting: O recurso não existe
TypeNotSupported: O tipo de recurso não é compatível
InvalidValue: Valor inválido para este recurso
AggregateTypes:
action: Ação
@@ -509,6 +513,7 @@ AggregateTypes:
user: Usuário
usergrant: Concessão de usuário
quota: Cota
feature: Recurso
EventTypes:
user:

View File

@@ -505,6 +505,10 @@ Errors:
Invalid: 令牌无效
Expired: 令牌已过期
InvalidClient: 没有为该客户发放令牌
Feature:
NotExisting: 功能不存在
TypeNotSupported: 不支持功能类型
InvalidValue: 此功能的值无效
AggregateTypes:
action: 动作
@@ -515,6 +519,7 @@ AggregateTypes:
user: 用户
usergrant: 用户授权
quota: 配额
feature: 特征
EventTypes:
user: