2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-17 20:45:44 +00:00

Set permissions for order views

This commit is contained in:
Oliver Walters
2020-10-06 19:46:53 +11:00
parent 606c62078f
commit 1c97aaf87a
4 changed files with 58 additions and 9 deletions

View File

@ -36,6 +36,10 @@ class RuleSet(models.Model):
choice[0] for choice in RULESET_CHOICES
]
RULESET_PERMISSIONS = [
'view', 'add', 'change', 'delete',
]
RULESET_MODELS = {
'admin': [
'auth_group',