It occurs to me that opt_hidefriendofs should probably be checked first since it's more inclusive, unless we want to change the two options to be truly separate, like so:
return 1 if $list =~ /^posting_access/;
return $u->prop( 'opt_hidememberofs' ) if $list =~ /of_comms$/;
return 1 if $u->prop( 'opt_hidefriendofs' );
return 0;
no subject