mirror of
https://github.com/inventree/inventree-app.git
synced 2025-06-14 11:15:26 +00:00
Tweak required roles (#630)
- Ref: https://github.com/inventree/InvenTree/pull/9506
This commit is contained in:
@ -118,7 +118,7 @@ void main() {
|
||||
|
||||
// Check available permissions
|
||||
assert(api.checkRole("part", "change"));
|
||||
assert(api.checkRole("stock_location", "delete"));
|
||||
assert(api.checkRole("stock", "delete"));
|
||||
assert(!api.checkRole("part", "weirdpermission"));
|
||||
assert(api.checkRole("blah", "bloo"));
|
||||
|
||||
|
Reference in New Issue
Block a user