Allow 'admin' account access to the report models

This commit is contained in:
Oliver Walters 2021-04-22 14:53:42 +10:00
parent 022219e3cf
commit 4a522bb05a

View File

@ -59,6 +59,12 @@ class RuleSet(models.Model):
'authtoken_token',
'authtoken_tokenproxy',
'users_ruleset',
'report_reportasset',
'report_reportsnippet',
'report_billofmaterialsreport',
'report_purchaseorderreport',
'report_salesorderreport',
],
'part_category': [
'part_partcategory',
@ -128,11 +134,6 @@ class RuleSet(models.Model):
'common_colortheme',
'common_inventreesetting',
'company_contact',
'report_reportasset',
'report_reportsnippet',
'report_billofmaterialsreport',
'report_purchaseorderreport',
'report_salesorderreport',
'users_owner',
# Third-party tables