I'm asking about activity permission in CiviCRM. I've tried to search by default functionality to prevent user to view other user activity but i guess there is no feature to do this.
This is the case that I want. Example : There are 5 users in CiviCRM : Barnie, JohnDoe, Michelle, Danielle & Felix. User JohnDoe create new activity type "Phone Call" with contact user Danielle and assign to user Barnie.
What I want is : While user Felix login into system, while he find activities, that phone call activities above will not showed to him.
Can you show me where is the code to execute query to prevent current user to view activity(s) that's not related to him/her?