Hi Team,
I have found a bug with moving pages in Confluence Cloud. The use case is as follows: I have a page tree under my space homepage. Somewhere in this tree a have a page that I can't edit (and delete) due to page restriction. I click "Move page" on my tree, choose a destination, and click "Move".
Expected behaviour:
My page tree (without restricted page) was moved in selected place, all pages were deleted except the one with restriction, it was moved under my space homepage (the nearest non-deleted parent page).
Result:
My page tree (without restricted page) was moved in selected place, all pages were deleted except the one with restriction, it was moved on the same level as my homepage.
I also tried using move page api and got the same result.
By the way, if my page tree was not directly under my homepage but deeper, everything works fine. The restricted page moves to the nearest non-deleted parent page.