Hello, I would like to give access to Workflow feature via Roles access rights, not by giving general Admin user. Does anyone know how to do so?
Access to Workflow features via Roles access rights
Collapse
X
-
Hi partomas ,
Try do this:
1. Create a file /custom/Espo/Custom/Controllers/Workflow.php with the code:
PHP Code:<?php namespace Espo\Custom\Controllers; use \Espo\Core\Exceptions\Forbidden; class Workflow extends \Espo\Modules\Advanced\Controllers\Workflow { protected function checkControllerAccess() { } }
Code:{ "mandatory": { "scopeLevel": { "Workflow": true, "WorkflowLogRecord": true } } }
Code:{ "tab": true, "acl": true }
Code:{ "acl": true }
6. Refresh a web page
7. Add permissions to a user role for the 'Workflows'and 'Workflows Log'
8. Add Workflow tab in the Administration -> User Interface -> Tab ListComment
Comment