feat: allow sale to manage self branch

This commit is contained in:
Methapon Metanipat 2024-09-09 11:13:53 +07:00
parent 51272f55fc
commit ed2b3a5a41
2 changed files with 2 additions and 0 deletions

View file

@ -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"]) {

View file

@ -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"]) {