Skip to content

Commit 23a288c

Browse files
committed
complete implementation
1 parent 79582d0 commit 23a288c

File tree

7 files changed

+491
-695
lines changed

7 files changed

+491
-695
lines changed

administrator/components/com_workflow/src/Dispatcher/Dispatcher.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,14 @@ class Dispatcher extends ComponentDispatcher
3131
*/
3232
protected function checkAccess()
3333
{
34-
$input = $this->getApplication()->getInput();
34+
$input = $this->app->getInput();
3535
$view = $input->getCmd('view');
36+
$layout = $input->getCmd('layout');
3637
$extension = $input->getCmd('extension');
3738
$parts = explode('.', $extension);
3839

39-
// Allow access to the 'graph' view for all users
40-
if ($view === 'graph') {
40+
// Allow access to the 'graph' view for all users with access
41+
if ($this->app->isClient('administrator') && $view === 'graph' && $layout === 'modal') {
4142
return;
4243
}
4344

0 commit comments

Comments
 (0)