Adding an 'is_public' attribute to the index

This determines if the object should be shown to anonymous users. Other permission rules will still apply.