cabennett85/gittest — Issue #1017: Filter out adult feed items from circle feed
Author: cabennett85
Created: 2012-03-02 00:31:07+00:00
State: open

If I am user A and my friend user B adds adult members to their circle (or joins an adult group) and my adult filter is on, my circle feed should filter out those feed items.

i.e.
{{{
B added [username] and # others to their circle
[B's logo]
[logo's of members B added]
}}}

SOLUTION:

The "logo's of members B added" should not include adult members if A's adult filter is on.

{{{
Only show adult members among "logo's of members B added" IF:
1. (Member A is adult AND adult filter is off) OR (Member A is friends with the adult member)

NOTE: I don't think you should be able to have adult filter off if you are adult, but it's probably safer to add this extra check.
}}}

Also, I don't know if there was a separate ticket for groups, but do the same thing for group joins (please double check how expensive this is from a performance standpoint):
{{{
B joined [group name] and # others
[groups that B joined]
}}}
{{{
Only show adult groups among "groups that B joined" IF:
1. (Member A is adult AND adult filter is off) OR (Member A is in the group)
}}}