I want to hide some content from certain users, for example unauthenticated users.
I've been using the "include" plugin, placing the hidden content in a separate space with different permissions, but recently (I think?) it started showing an error if the users couldn't access the hidden space contents.
I wanted to hide that error with a custom CSS... but recently the support for custom CSS has been completely deprecated.
I've found some other solutions but they put the hidden content inside the page "code" as "comments" that you can see only by editing the page. I don't like this solution since you have to give write permissions to the users in order to be able to see the contents (or anyway, you need to edit the page to see it).
Is there some other way to do this?
edit: I'm refering to Confluence Cloud.