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.
Can this fix be applied to Preside 10.8? This issue is happening on a live server running on Preside 10.8.
Awesome sauce, thanks for this Choon Tat. Not sure re applying to 10.8. Is there a good reason not to upgrade to 10.10? The upgrade notes and testing points for 10.9 and 10.10 are not too great.
Will be released in 10.10.12.