Refactor API tests for stock

This commit is contained in:
Oliver Walters committed 2021-02-26 21:53:54 +11:00
1 parent ee744be5fe
commit 9d099c81a7
3 files changed
+32 -37

No files matched your search

+1
View File
@@ -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