One of our current applications is similar to the circle of friends. One of them is about permissions: 1. Non-friends cannot comment. 2. I can only see my comments and the reply from the other party. How can I clarify these relationships? Is there a general idea? I will discuss the problem later... one of the modules in this application is similar to the circle of friends. One of them is about permissions:
1. Non-friends cannot comment.
2. I can only see my comments and the reply from the other party.
How can I clarify these relationships? Is there a general idea? I will elaborate on the issues later, including the code I have implemented ,,
The problem has been disabled. cause: the problem cannot obtain the exact result.
Reply content:
One of our current applications is similar to the circle of friends. One of them is about permissions:
1. Non-friends cannot comment.
2. I can only see my comments and the reply from the other party.
How can I clarify these relationships? Is there a general idea? I will elaborate on the issues later, including the code I have implemented ,,
According to your description: There is a friend table (id, uid-id, fid-friend id, time-friend time ). If you have the permission, you can query the table to view only the fid messages in your table.