CMS permissions on child pages of child pages

Description

When applying for CMS permissions on a page, the permissions are only applied to child pages of the affected page.

This is caused by the following lines of code in SiteTree handler, ajaxChildNodes method

From the Lucee docs, ArrayReverse returns a new array with all the elements reversed without modifying the original array. So the fix for this will be assign the reversed array to additionalNodeArgs.permission_context.

Environment

None

Assignee

Unassigned

Reporter

Choon Tat Thum

Labels

None

Accepted

Yes

Fix versions

Affects versions

Priority

Medium
Configure