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:
Oliver authored and GitHub committed 2026-10-21 07:00:21 +11:00
1 parent 7554bbdfa2
commit a76675dd4d
5 files changed
+28 -6

No files matched your search

+3
View File
@@ -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'");
});