feat: allow sale to manage self branch
This commit is contained in:
parent
51272f55fc
commit
ed2b3a5a41
2 changed files with 2 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ const MANAGE_ROLES = [
|
||||||
"head_of_account",
|
"head_of_account",
|
||||||
"account",
|
"account",
|
||||||
"head_of_sale",
|
"head_of_sale",
|
||||||
|
"sale",
|
||||||
];
|
];
|
||||||
|
|
||||||
function globalAllow(user: RequestWithUser["user"]) {
|
function globalAllow(user: RequestWithUser["user"]) {
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,7 @@ const MANAGE_ROLES = [
|
||||||
"head_of_account",
|
"head_of_account",
|
||||||
"account",
|
"account",
|
||||||
"head_of_sale",
|
"head_of_sale",
|
||||||
|
"sale",
|
||||||
];
|
];
|
||||||
|
|
||||||
function globalAllow(user: RequestWithUser["user"]) {
|
function globalAllow(user: RequestWithUser["user"]) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue