Closed Southclaws closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
When "Visibility rules" were implemented, I neglected to apply the logic to "Node Get" operations and only to tree traversal and mutations.
This meant that a page that was published which had un-published child pages were visible to anyone. Un-published pages included those that were: unlisted, draft or in-review.
This fix applies the same visibility rules so when a page (node) is requested, the children are returned with the following logic:
This ensures:
Also in this PR: