Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Formatting: #257 권한 설명 변경
Browse files Browse the repository at this point in the history
ice-bear98 committed Nov 4, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent e9e4fad commit 64f776f
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions src/constants/role.ts
Original file line number Diff line number Diff line change
@@ -8,21 +8,29 @@ export const PROJECT_DEFAULT_ROLE = 'ASSIGNEE';
export const TEAM_DEFAULT_ROLE = 'MATE';

export const TEAM_ROLE_INFO: RoleInfo[] = [
{ roleName: 'HEAD', label: 'HEAD', description: '모든 권한 가능' },
{
roleName: 'HEAD',
label: 'HEAD',
description: '팀의 모든 기능 가능',
},
{
roleName: 'LEADER',
label: 'LEADER',
description: '팀원 탈퇴(Mate만)\n프로젝트 생성 권한\n프로젝트 삭제(본인이 생성한 것만)',
description: '팀 및 프로젝트 읽기 가능\n생성/수정/삭제의 경우 본인이 작성한것만 가능',
},
{ roleName: 'MATE', label: 'Mate', description: '프로젝트 읽기만 가능, 수정 및 생성 불가' },
{ roleName: 'MATE', label: 'Mate', description: '팀 조작 중 프로젝트 읽기 기능만 가능' },
];

export const PROJECT_ROLE_INFO: RoleInfo[] = [
{ roleName: 'ADMIN', label: 'ADMIN', description: '프로젝트 모든 권한 가능' },
{
roleName: 'LEADER',
label: 'LEADER',
description: '상태 및 일정 생성 권한\n수행자 할당 가능\n',
description: `상태 및 일정 읽기 가능 \n생성/수정/삭제 가능`,
},
{
roleName: 'ASSIGNEE',
label: 'ASSIGNEE',
description: '일정 읽기 가능\n생성/수정/삭제 본인이 작성한 것만 가능 ',
},
{ roleName: 'ASSIGNEE', label: 'ASSIGNEE', description: '일정 쓰기\n일정 삭제(본인 것만) ' },
];

0 comments on commit 64f776f

Please sign in to comment.