hezean / sustc

Template for project 2 of SUSTech Principles of Database Systems (CS307 / CS213), 23 fall semester.
http://172.18.34.154
MIT License
22 stars 10 forks source link

Contradiction between issue #17 and issue #23 #25

Closed fz-zsl closed 10 months ago

fz-zsl commented 11 months ago

Describe your question

Issue #17 tells that we should return all the videos in the database, however, #23 tells that we should only return published videos. Which result shall we return?

sses7757 commented 11 months ago

@fz-zsl There is no contradiction since a super user can see private videos (videos waiting for review) while normal users cannot. #23 is the case of a normal user. To make things clear, I have edited the reply in #23.