2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

make it possible to resitrict the about modal

This commit is contained in:
Matthias
2022-04-24 01:02:41 +02:00
parent ff9d8e7b6b
commit 1127bf2497
5 changed files with 21 additions and 1 deletions

View File

@ -696,6 +696,13 @@ class InvenTreeSetting(BaseInvenTreeSetting):
'default': False,
},
'INVENTREE_RESTRICT_ABOUT': {
'name': _('Restrict showing `about`'),
'description': _('Show the `about` modal only to superusers'),
'validator': bool,
'default': False,
},
'INVENTREE_COMPANY_NAME': {
'name': _('Company name'),
'description': _('Internal company name'),