Hi @Vitalik,
if you want to completely hide posts from being shown on your page, depending on the user level, you could use something like this.
(I tested it in the lyra theme, which is based on casper):
Basically if you’re a paid member, you can see every post
(visibility="all")
If you’re a member, you can see the public and the members content (visibility="public,members")
If you’re a public visitor, you can only see public content.
(visibility="public")
{{#if @member.paid}}
{{#foreach posts visibility="all"}}
{{> "post-card"}}
{{/foreach}}
{{else}}
{{#if @member}}
{{#foreach posts visibility="public,members"}}
{{> "post-card"}}
{{/foreach}}
{{else}}
{{#foreach posts visibility="public"}}
{{> "post-card"}}
{{/foreach}}
{{/if}}
{{/if}}
Let me know if you need help.