According to the upgrade notes for 2.3 on this page : http://doc.silverstripe.com/doku.php?id=upgrading:2.3.0&s=viewersgroup , the Page->ViewersGroup and Page->EditorsGroup have been changed to a many_many relation..
This breaks some functionality in one of our sites and I don't know how to properly make it work in SS 2.3 ...
What I need is a list of all the pages that have a specific "viewersgroup" permission set. In the old situation , I could just do a $GroupPage = DataObject::get_one("Page", "ViewersGroup = '$Group->ID'", "Sort", ""); to get the results.
From 2.3 on , the ViewersGroup DB column is obsolete and replaced by a many-many relation. So basically , I need to do a reverse lookup on these values but I can't figure out how to do it.
Anyone has the answer ?