[bug] Fix about dialog restriction (#13379)

- Remove unused INVENTREE_RESTRICT_ABOUT
- Adjust first-use tour
- Updated docs
This commit is contained in:
Oliver authored and GitHub committed 2026-11-26 21:21:36 +11:00
1 parent 8e83a8a9a1
commit 03ffbb0902
12 files changed
+47 -47

No files matched your search

@@ -216,12 +216,6 @@ SYSTEM_SETTINGS: dict[str, InvenTreeSettingsKeyType] = {
'validator': bool,
'default': False,
},
'INVENTREE_RESTRICT_ABOUT': {
'name': _('Restrict showing `about`'),
'description': _('Show the `about` modal only to superusers'),
'validator': bool,
'default': False,
},
'INVENTREE_SHOW_SUPERUSER_BANNER': {
'name': _('Show superuser banner'),
'description': _('Show a warning banner in the UI when logged in as superuser'),
+1 -1
View File
@@ -816,7 +816,7 @@ class GlobalSettingsApiTest(InvenTreeAPITestCase):
def test_cast(self):
"""Test that values are cast to the correct type."""
key = 'INVENTREE_RESTRICT_ABOUT'
key = 'INVENTREE_SHOW_ADMIN_BANNER'
# Delete the associated setting object
InvenTreeSetting.objects.filter(key=key).delete()
+1 -1
View File
@@ -242,7 +242,7 @@ ldap:
# Override global settings
#global_settings:
# INVENTREE_DEFAULT_CURRENCY: 'CNY'
# INVENTREE_RESTRICT_ABOUT: true
# INVENTREE_SHOW_ADMIN_BANNER: true
# Override plugin settings (by plugin slug)
# Settings specified here will be locked and cannot be changed via the UI