Ok i think I got the solution:
Turns out it was a permissions issue. I will update the Github repro, but i thought i would post the solution in the interim:
GalleryPage.php (model section-- add this above the getCMS function)
-----------------------------------------------------------------------------
// Set Permissions
function canView($Member = null){if(permission::check('VIEW_GALLERY')){return true;}else{return false;}}
function canEdit($Member = null){if(permission::check('EDIT_GALLERY')){return true;}else{return false;}}
function canCreate($Member = null){if(permission::check('EDIT_GALLERY')){return true;}else{return false;}}
GalleryPage.php (replace the page controller section with this)
--------------------------------------------------------------------------------
class GalleryPage_Controller extends Page_Controller implements PermissionProvider {
//Add permissin check boxes to CMS
public function providePermissions() {
return array(
"VIEW_GALLERY" => "View Gallery Pages",
"EDIT_GALLERY" => "Edit Gallery Pages",
);
}
public function GetGalleryImages() {
return $this->GalleryImages()->sort("SortOrder");
}
}
GalleryImage.php
------------------------------------------------------------
Ass this above the getCMS function
// Set Permissions
function canView($Member = null){if(permission::check('VIEW_GALLERY')){return true;}else{return false;}}
function canEdit($Member = null){if(permission::check('EDIT_GALLERY')){return true;}else{return false;}}
function canCreate($Member = null){if(permission::check('EDIT_GALLERY')){return true;}else{return false;}}
______________________________________________________________________________________________
1) Run dev build
2) The above creates check boxes in the security section of the cms where you can now allocate permissions to the Content_Author group
3) Check both boxes so user can view and edit...save
This should now enable the Content_Author to see and edit the gallery pages
I am planning a rework of the SS3 Gallery will push to Github when i am done.
I have included the complete sample code in a zip file as well.