-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature admin -> dev 리뷰 응답 데이터 및 문의 권한 수정 #27
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
확인했습니다~ 댓글 봐주십셔
customk/questions/views.py
Outdated
class QuestionListView(APIView): | ||
def get_permissions(self): | ||
if self.request.method == "GET": | ||
return [AllowAny()] | ||
return [IsAuthenticated()] | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
다른 유저가 작성한 질문, 답변들도 볼 수 있을건데 상관 없나요? 기획 쪽에서 들은게 없어서ㅓㅓ 상관없다면 이대로 하시고 자기만 볼 수 있게 하는 기능이 필요하면 user_id 같은걸로 permission 줘야 할 거 같슴니다 !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
확인했습니다!!
변경 사항 요약
�리뷰 응답 데이터 및 문의 권한 수정
변경 유형
체크리스트