def check_acls_comm_obj(obj, profile):
 if obj.read_permission_public:
  return True
 if (obj.read_permission_reviewer and check_acls(profile, obj, 'reviewer')):
  return True
 if (obj.read_permission_senior_reviewer and check_acls(profile, obj, 'senior_reviewer')):
  return True
 if (obj.read_permission_mozilla_contact and check_acls(profile, obj, 'moz_contact')):
  return True
 if (obj.read_permission_staff and check_acls(profile, obj, 'admin')):
  return True
 return False

def check_acls_comm_obj ( obj , profile ) : if obj . read_permission_public : return True if ( obj . read_permission_reviewer and check_acls ( profile , obj , 'reviewer' ) ) : return True if ( obj . read_permission_senior_reviewer and check_acls ( profile , obj , 'senior_reviewer' ) ) : return True if ( obj . read_permission_mozilla_contact and check_acls ( profile , obj , 'moz_contact' ) ) : return True if ( obj . read_permission_staff and check_acls ( profile , obj , 'admin' ) ) : return True return False
cross-reference acls and note/thread permissions .