File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
administrator/components/com_workflow/src/Dispatcher Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -31,9 +31,15 @@ class Dispatcher extends ComponentDispatcher
3131 */
3232 protected function checkAccess ()
3333 {
34- $ extension = $ this ->getApplication ()->getInput ()->getCmd ('extension ' );
34+ $ input = $ this ->getApplication ()->getInput ();
35+ $ view = $ input ->getCmd ('view ' );
36+ $ extension = $ input ->getCmd ('extension ' );
37+ $ parts = explode ('. ' , $ extension );
3538
36- $ parts = explode ('. ' , $ extension );
39+ // Allow access to the 'graph' view for all users
40+ if ($ view === 'graph ' ) {
41+ return ;
42+ }
3743
3844 // Check the user has permission to access this component if in the backend
3945 if ($ this ->app ->isClient ('administrator ' ) && !$ this ->app ->getIdentity ()->authorise ('core.manage.workflow ' , $ parts [0 ])) {
You can’t perform that action at this time.
0 commit comments