Dear @Konrad_Woloszyn ,
afaik this is not possible. The recommended way is to open the space for all but creating two top level child pages eg. public and internal.
internal is restricted. If you would like to make pages visible to others, move them as children below public.
In addition to the answer by @Thomas_Deiler If you want to maintain the structure in your 'restricted'/ internal page tree, I would suggest the include page macro - https://confluence.atlassian.com/confcloud/include-page-macro-724765214.html
You can then create your public content in the public tree, and then create an empty child page of the restricted page which has the page include macro to pull in the public content.
Hey @Konrad_Woloszyn , yes it will work cross space.
I recommend that you familiarise yourself with https://confluence.atlassian.com/confcloud/macros-724765157.html , that will give you all the details you need on the macros available and how they work.
Hey Community 👋, Following the recent release of the new editor, we will be releasing the ability for users to convert existing pages from the legacy editor to the new editor. We’ve been resp...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events