Company create (#610)
Android / build (push) Has been cancelled
CI / test (push) Has been cancelled
iOS / build (push) Has been cancelled

* API: refactor checkPermission

- Rename to checkRole (actually what it is doing)
- Permission check will be incoming

* Add checkPermission function for API

* Create a new company

* Bump release notes

* Cleanup

* Fix
This commit is contained in:
Oliver authored and GitHub committed 2025-02-08 10:36:26 +11:00
1 parent 0c5944a8a0
commit 1a3f48f48c
8 files changed
+129 -22

No files matched your search

+1 -1
View File
@@ -183,7 +183,7 @@ class _InvenTreeHomePageState extends State<InvenTreeHomePage> with BaseWidgetPr
bool allowed = true;
if (role.isNotEmpty || permission.isNotEmpty) {
allowed = InvenTreeAPI().checkPermission(role, permission);
allowed = InvenTreeAPI().checkRole(role, permission);
}
return GestureDetector(