2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-29 03:56:43 +00:00

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_token',
'authtoken_tokenproxy', 'authtoken_tokenproxy',
'users_ruleset', 'users_ruleset',
'report_reportasset',
'report_reportsnippet',
'report_billofmaterialsreport',
'report_purchaseorderreport',
'report_salesorderreport',
], ],
'part_category': [ 'part_category': [
'part_partcategory', 'part_partcategory',
@ -128,11 +134,6 @@ class RuleSet(models.Model):
'common_colortheme', 'common_colortheme',
'common_inventreesetting', 'common_inventreesetting',
'company_contact', 'company_contact',
'report_reportasset',
'report_reportsnippet',
'report_billofmaterialsreport',
'report_purchaseorderreport',
'report_salesorderreport',
'users_owner', 'users_owner',
# Third-party tables # Third-party tables