File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,11 @@ import { api } from '../utils/axios';
44
55const isAdminRole = ( role ) => {
66 const normalizedRole = String ( role || '' ) . trim ( ) . toUpperCase ( ) ;
7- return normalizedRole === 'PRESIDENT' || normalizedRole === 'SYSTEM_ADMIN' ;
7+ return (
8+ normalizedRole === 'PRESIDENT' ||
9+ normalizedRole === 'SYSTEM_ADMIN' ||
10+ normalizedRole === 'VICE_PRESIDENT'
11+ ) ;
812} ;
913
1014const AdminRoute = ( ) => {
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import { getParentBoards } from '../utils/boardApi';
99import { isAllBoardName , normalizeBoardPath , toBoardPath } from '../utils/boardRoute' ;
1010import DropdownArrowIcon from '../assets/boardSelectArrow.svg' ;
1111
12- const ADMIN_VISIBLE_ROLES = [ 'SYSTEM_ADMIN' , 'PRESIDENT' ] ;
12+ const ADMIN_VISIBLE_ROLES = [ 'SYSTEM_ADMIN' , 'PRESIDENT' , 'VICE_PRESIDENT' ] ;
1313const ATTENDANCE_MANAGE_VISIBLE_ROLES = [
1414 'SYSTEM_ADMIN' ,
1515 'PRESIDENT' ,
You can’t perform that action at this time.
0 commit comments