I am using AdvancedWorkflow on a Gridfield and have included GridField Permission for all members. The problem is when i save data( as a content creator ), the entry gets published on site instead of waiting for the top-level approval, basically Advanced Workflow is not working for Gridfields. I am facing this issue only with GridField Items. Why is it so?
/** Gridfield permission for all members */
public function canView($member = null) {
return Permission::check('CMS_ACCESS_CMSMain');
}
public function canCreate($member = null) {
return Permission::check('CMS_ACCESS_CMSMain');
}
public function canEdit($member=null) {
return Permission::check('CMS_ACCESS_CMSMain');
}
public function canDelete($member = null) {
return Permission::check('CMS_ACCESS_CMSMain');
}