Added access logic for own posts and comments