mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Remove "general" ruleset
This commit is contained in:
parent
31b699d521
commit
929411e49a
@ -24,7 +24,6 @@ class RuleSet(models.Model):
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
RULESET_CHOICES = [
|
RULESET_CHOICES = [
|
||||||
('general', _('General')),
|
|
||||||
('admin', _('Admin')),
|
('admin', _('Admin')),
|
||||||
('part', _('Parts')),
|
('part', _('Parts')),
|
||||||
('stock', _('Stock')),
|
('stock', _('Stock')),
|
||||||
@ -38,9 +37,6 @@ class RuleSet(models.Model):
|
|||||||
]
|
]
|
||||||
|
|
||||||
RULESET_MODELS = {
|
RULESET_MODELS = {
|
||||||
'general': [
|
|
||||||
'part_partstar',
|
|
||||||
],
|
|
||||||
'admin': [
|
'admin': [
|
||||||
'auth_group',
|
'auth_group',
|
||||||
'auth_user',
|
'auth_user',
|
||||||
@ -99,13 +95,14 @@ class RuleSet(models.Model):
|
|||||||
'django_session',
|
'django_session',
|
||||||
|
|
||||||
# Models which currently do not require permissions
|
# Models which currently do not require permissions
|
||||||
'common_inventreesetting',
|
|
||||||
'common_currency',
|
|
||||||
'common_colortheme',
|
'common_colortheme',
|
||||||
|
'common_currency',
|
||||||
|
'common_inventreesetting',
|
||||||
'company_contact',
|
'company_contact',
|
||||||
'label_stockitemlabel',
|
'label_stockitemlabel',
|
||||||
'report_testreport',
|
|
||||||
'report_reportasset',
|
'report_reportasset',
|
||||||
|
'report_testreport',
|
||||||
|
'part_partstar',
|
||||||
]
|
]
|
||||||
|
|
||||||
RULE_OPTIONS = [
|
RULE_OPTIONS = [
|
||||||
|
Loading…
Reference in New Issue
Block a user