So we are creating pages in our code that has a parent with right for a ‘viewer’ to see the listpage.
This is how im creating the page and copying the permissions from the listpage.
var newPage = listPage.Children.CreatePage('myPageType', 'myPageType.Template', "Some value", true, ModuleCMS.Instance.AdminToken);
listPage.CopyPermissions(newPage, ModuleCMS.Instance.AdminToken);
Even tho listpage has viewer rights i cant get them to transfer to the newly created page.
Litium version: 6.3.4