mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-25 01:03:07 +00:00
Refactor API tests for stock
This commit is contained in:
1 parent
ee744be5fe
commit
9d099c81a7
3 files changed
+32
-37
No files matched your search
@@ -183,6 +183,7 @@ class RuleSet(models.Model):
|
||||
if check_user_role(user, role, permission):
|
||||
return True
|
||||
|
||||
print("failed permission check for", table, permission)
|
||||
return False
|
||||
|
||||
@staticmethod
|
||||
|
||||
Reference in new issue
Block a user