mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-07 07:16:54 +00:00
feat(console): feature settings (#7713)
* feature settings * feature component, i18n * i18n, save settings * i18n * reset button, state if system inherited, i18n * iam.restrictions.read * refetch feature after reset * use toggles instead of checkboxes * i18n * rm logs * fix i18n * show unspecified as inherited --------- Co-authored-by: Elio Bischof <elio@zitadel.com>
This commit is contained in:
@@ -10,6 +10,15 @@ export const ORGANIZATIONS: SidenavSetting = {
|
||||
},
|
||||
};
|
||||
|
||||
export const FEATURESETTINGS: SidenavSetting = {
|
||||
id: 'features',
|
||||
i18nKey: 'SETTINGS.LIST.FEATURESETTINGS',
|
||||
groupI18nKey: 'SETTINGS.GROUPS.GENERAL',
|
||||
requiredRoles: {
|
||||
[PolicyComponentServiceType.ADMIN]: ['iam.restrictions.read'],
|
||||
},
|
||||
};
|
||||
|
||||
export const LANGUAGES: SidenavSetting = {
|
||||
id: 'languages',
|
||||
i18nKey: 'SETTINGS.LIST.LANGUAGES',
|
||||
|
||||
Reference in New Issue
Block a user