/** * Constructor */ function VGWortGridHandler() { parent::GridHandler(); $this->addRoleAssignment(array(ROLE_ID_MANAGER), array('index', 'fetchGrid', 'getRowInstance', 'editSubmissionFile', 'updateSubmissionFile')); }
/** * Constructor */ function ChapterGridHandler() { parent::GridHandler(); $this->addRoleAssignment(array(ROLE_ID_AUTHOR, ROLE_ID_SERIES_EDITOR, ROLE_ID_PRESS_MANAGER), array('fetchGrid', 'fetchCategory', 'addChapter', 'editChapter', 'updateChapter', 'deleteChapter')); }