mirror of
https://github.com/inventree/inventree-app.git
synced 2026-11-23 06:06:07 +00:00
Update pricing role checks (#893)
* Update pricing role checks Ref: https://github.com/inventree/InvenTree/pull/13034 * Update release notes
This commit is contained in:
1 parent
7554bbdfa2
commit
a76675dd4d
5 files changed
+28
-6
No files matched your search
@@ -138,6 +138,9 @@ void main() {
|
||||
assert(!api.checkRole("part", "weirdpermission"));
|
||||
assert(api.checkRole("blah", "bloo"));
|
||||
|
||||
// Pricing role (or legacy server with no pricing role)
|
||||
assert(api.canViewPricing);
|
||||
|
||||
debugContains("Received token from server");
|
||||
debugContains("showSnackIcon: 'Connected to Server'");
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user