Skip to content

Commit

Permalink
feat: 관리자의 학생회 글 수정 허용
Browse files Browse the repository at this point in the history
  • Loading branch information
yeolyi committed Mar 8, 2025
1 parent 588b0f5 commit b74e894
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/[locale]/community/council/report/[id]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default async function CouncilReportPage({ params }: Props) {
postType="council/report"
id={id.toString()}
margin="mt-12"
role="ROLE_COUNCIL"
role={['ROLE_COUNCIL', 'ROLE_STAFF']}
/>
</div>
</PageLayout>
Expand Down
2 changes: 1 addition & 1 deletion app/[locale]/community/council/report/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default async function CouncilReportList() {
<Tile key={report.id} {...report} />
))}
</div>
<LoginVisible role="ROLE_COUNCIL">
<LoginVisible role={['ROLE_COUNCIL', 'ROLE_STAFF']}>
<div className="mt-[40px] flex justify-end">
<Link href={`${path}/create`}>
<button
Expand Down

0 comments on commit b74e894

Please sign in to comment.