diff --git a/components/label/hooks/useAuth.ts b/components/label/hooks/useAuth.ts index 4114743..16febc5 100644 --- a/components/label/hooks/useAuth.ts +++ b/components/label/hooks/useAuth.ts @@ -12,15 +12,9 @@ type PermissionMap = { } const mappingList: { [x: string]: [string, string] } = { - "/project/own": ["project", "config"], - "/management/team/employee": ["user", "view"], - "/management/team/organization": ["user", "group_view"], - "/management/team/dailypaper": ["daily_work", "team_view"], - "/management/team/cost": ["settlement_form", "view"], - "/management/team/workload": ["workload", "view"], - "/management/team/sync_server": ["data_sync", "server_view"], - "/management/team/sync_task": ["data_sync", "task_view"], - "/management/team/board": ["user", "view"], + "/person/dashboard": ["task", "view"], + "/person/report": ["daily_work", "self_view"], + "/person/workload": ["workload", "self_view"], } export const headerBarCheckItems = (data: PermissionMap) => {