refactor(new role): added in warehouse role

This commit is contained in:
2026-06-04 06:49:49 -05:00
parent 5281118596
commit 55418e2f09
3 changed files with 22 additions and 1 deletions

View File

@@ -6,7 +6,14 @@ import {
} from "better-auth/client/plugins";
import { createAuthClient } from "better-auth/react";
import { ac, admin, manager, systemAdmin, user } from "./auth-permissions";
import {
ac,
admin,
manager,
systemAdmin,
transport,
user,
} from "./auth-permissions";
export const authClient = createAuthClient({
baseURL: `${window.location.origin}/lst/api/auth`,
@@ -17,6 +24,7 @@ export const authClient = createAuthClient({
admin,
user,
manager,
transport,
systemAdmin,
},
}),