Open buddh4 opened 7 years ago
Hi Nadil, any news on this? I think the best way to achieve this is by using:
So you should be able to load all your user related news as:
News::find()->userRelated([
ActiveQueryContent::USER_RELATED_SCOPE_SPACES,
USER_RELATED_SCOPE_FOLLOWED_SPACES])->all();
Hi! Yes Updated. Now non member users cannot see non following space news!
The news image of spaces news the user is not a member of cannot be displayed because of missing permissions. I'would suggest only viewing news of spaces the user is a member (or following) of.