feat(rbac): hide unauthorized menu sections and enforce route guards
This commit is contained in:
@@ -69,7 +69,8 @@
|
||||
"admin_users": "User Management",
|
||||
"admin_roles": "Role Management",
|
||||
"admin_settings": "ADFS Configuration",
|
||||
"admin_llm": "LLM Providers"
|
||||
"admin_llm": "LLM Providers",
|
||||
"profile": "Profile"
|
||||
},
|
||||
"llm": {
|
||||
"providers_title": "LLM Providers",
|
||||
@@ -398,6 +399,32 @@
|
||||
"status_error": "Error",
|
||||
"empty": "No dashboards found"
|
||||
},
|
||||
"profile": {
|
||||
"title": "Profile",
|
||||
"description": "Manage your dashboard filter preferences.",
|
||||
"dashboard_preferences": "Dashboard Preferences",
|
||||
"superset_environment": "Superset Environment",
|
||||
"superset_environment_placeholder": "Select environment",
|
||||
"superset_account": "Your Apache Superset Account",
|
||||
"superset_account_placeholder": "Enter your Apache Superset username",
|
||||
"show_only_my_dashboards": "Show only my dashboards by default",
|
||||
"save_preferences": "Save Preferences",
|
||||
"lookup_loading": "Loading Superset accounts...",
|
||||
"lookup_error": "Cannot load Superset accounts for this environment right now. You can enter username manually.",
|
||||
"save_success": "Preferences saved",
|
||||
"save_error": "Failed to save preferences. Please try again.",
|
||||
"invalid_username": "Username should not contain spaces. Please enter a valid Apache Superset username.",
|
||||
"username_required": "Superset username is required when default filter is enabled.",
|
||||
"filter_badge_active": "My Dashboards Only",
|
||||
"filter_badge_override": "Showing all dashboards temporarily",
|
||||
"filter_empty_state": "No dashboards found for your account. Try adjusting your filter settings.",
|
||||
"filter_show_all_temporarily": "Show all dashboards temporarily",
|
||||
"filter_restore_default": "Restore default filter",
|
||||
"saving": "Saving...",
|
||||
"lookup_button": "Lookup",
|
||||
"lookup_search_placeholder": "Search account candidates",
|
||||
"lookup_no_results": "No account candidates found. You can enter username manually."
|
||||
},
|
||||
"reports": {
|
||||
"title": "Reports",
|
||||
"empty": "No reports available.",
|
||||
|
||||
@@ -69,7 +69,8 @@
|
||||
"admin_users": "Управление пользователями",
|
||||
"admin_roles": "Управление ролями",
|
||||
"admin_settings": "Настройка ADFS",
|
||||
"admin_llm": "Провайдеры LLM"
|
||||
"admin_llm": "Провайдеры LLM",
|
||||
"profile": "Профиль"
|
||||
},
|
||||
"llm": {
|
||||
"providers_title": "Провайдеры LLM",
|
||||
@@ -396,6 +397,32 @@
|
||||
"status_error": "Ошибка",
|
||||
"empty": "Дашборды не найдены"
|
||||
},
|
||||
"profile": {
|
||||
"title": "Профиль",
|
||||
"description": "Управляйте настройками фильтра дашбордов.",
|
||||
"dashboard_preferences": "Настройки дашбордов",
|
||||
"superset_environment": "Окружение Superset",
|
||||
"superset_environment_placeholder": "Выберите окружение",
|
||||
"superset_account": "Ваш аккаунт Apache Superset",
|
||||
"superset_account_placeholder": "Введите имя пользователя Apache Superset",
|
||||
"show_only_my_dashboards": "Показывать только мои дашборды по умолчанию",
|
||||
"save_preferences": "Сохранить настройки",
|
||||
"lookup_loading": "Загрузка аккаунтов Superset...",
|
||||
"lookup_error": "Сейчас не удается загрузить аккаунты Superset для этого окружения. Вы можете ввести имя пользователя вручную.",
|
||||
"save_success": "Настройки сохранены",
|
||||
"save_error": "Не удалось сохранить настройки. Попробуйте снова.",
|
||||
"invalid_username": "Имя пользователя не должно содержать пробелы. Введите корректное имя пользователя Apache Superset.",
|
||||
"username_required": "Имя пользователя Superset обязательно, когда фильтр по умолчанию включен.",
|
||||
"filter_badge_active": "Только мои дашборды",
|
||||
"filter_badge_override": "Временно показаны все дашборды",
|
||||
"filter_empty_state": "Для вашего аккаунта дашборды не найдены. Попробуйте изменить настройки фильтра.",
|
||||
"filter_show_all_temporarily": "Временно показать все дашборды",
|
||||
"filter_restore_default": "Вернуть фильтр по умолчанию",
|
||||
"saving": "Сохранение...",
|
||||
"lookup_button": "Найти",
|
||||
"lookup_search_placeholder": "Поиск среди аккаунтов",
|
||||
"lookup_no_results": "Кандидаты аккаунтов не найдены. Вы можете ввести имя пользователя вручную."
|
||||
},
|
||||
"reports": {
|
||||
"title": "Отчеты",
|
||||
"empty": "Отчеты отсутствуют.",
|
||||
|
||||
Reference in New Issue
Block a user