Add user feature permissions and unified account management
This commit is contained in:
@@ -56,7 +56,6 @@ const BOOL_SETTINGS = new Set([
|
||||
'site_login_show_local_login',
|
||||
'site_login_show_forgot_password',
|
||||
'site_login_show_signup_link',
|
||||
'site_nav_show_requests',
|
||||
'magent_proxy_enabled',
|
||||
'magent_proxy_trust_forwarded_headers',
|
||||
'magent_ssl_bind_enabled',
|
||||
@@ -280,12 +279,6 @@ const SITE_SECTION_GROUPS: Array<{
|
||||
'site_login_show_signup_link',
|
||||
],
|
||||
},
|
||||
{
|
||||
key: 'site-navigation',
|
||||
title: 'Navigation',
|
||||
description: 'Control new requests in the navigation.',
|
||||
keys: ['site_nav_show_requests'],
|
||||
},
|
||||
]
|
||||
|
||||
const STANDARD_SECTION_GROUPS: Record<
|
||||
@@ -839,7 +832,7 @@ export default function SettingsPage({ section }: SettingsPageProps) {
|
||||
const cacheSettingKeys = new Set(['requests_sync_ttl_minutes', 'requests_data_source'])
|
||||
const artworkSettingKeys = new Set(['artwork_cache_mode'])
|
||||
const generatedSettingKeys = new Set(['site_changelog', 'site_build_number'])
|
||||
const hiddenSettingKeys = new Set([...cacheSettingKeys, ...artworkSettingKeys, ...generatedSettingKeys])
|
||||
const hiddenSettingKeys = new Set(['site_nav_show_requests', ...cacheSettingKeys, ...artworkSettingKeys, ...generatedSettingKeys])
|
||||
const obsoleteSettingKeys = new Set([
|
||||
'sonarr_qbittorrent_category',
|
||||
'radarr_qbittorrent_category',
|
||||
|
||||
Reference in New Issue
Block a user