Remove "general" ruleset

This commit is contained in:
Oliver Walters 2020-10-04 12:53:24 +11:00
parent 31b699d521
commit 929411e49a

View File

@ -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 = [