Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

게시물 수정 / 삭제 #4

Open
MinChul-Son opened this issue Aug 4, 2021 · 0 comments
Open

게시물 수정 / 삭제 #4

MinChul-Son opened this issue Aug 4, 2021 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@MinChul-Son
Copy link
Owner

게시물 수정과 삭제는 자신의 게시물만 가능하다.

게시물을 조회할 때 로그인된 사용자의 정보를 가지고 게시물의 작성자와 비교한다.
만약 해당 사용자가 게시물의 작성자라면 아래와 같이 수정삭제버튼을 화면에 보여주고,
image

만약 그렇지 않다면 수정삭제버튼을 보여주지 않는다.
image

@MinChul-Son MinChul-Son added the documentation Improvements or additions to documentation label Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant