diff --git a/resources/views/settings/layouts/app.blade.php b/resources/views/settings/layouts/app.blade.php index 1f26189..7791270 100644 --- a/resources/views/settings/layouts/app.blade.php +++ b/resources/views/settings/layouts/app.blade.php @@ -59,6 +59,9 @@ {{--
  • Collections
  • --}} +
  • + DOI UPDATE LIST +
  • Collection Roles
  • @@ -107,9 +110,9 @@
  • EDITOR PAGE: Released datasets
  • -
  • + {{--
  • DOI UPDATE LIST -
  • + --}} @endpermission @permission('dataset-review-list')
  • diff --git a/routes/web.php b/routes/web.php index 3aa318e..a8cf9a4 100644 --- a/routes/web.php +++ b/routes/web.php @@ -172,17 +172,17 @@ $appRoutes = function () { 'as' => 'workflow.editor.doiStore', 'uses' => 'EditorController@doiStore', ]); - //doi + //doi update list for admin: Route::get('workflow/doi/index', [ - 'middleware' => ['permission:dataset-editor-list'], + 'middleware' => ['permission:settings'], 'as' => 'workflow.doi.index', 'uses' => 'DoiController@index', ]); Route::get('workflow/doi/edit/{id}', [ - 'middleware' => ['permission:dataset-publish'], + 'middleware' => ['permission:settings'], 'as' => 'workflow.doi.edit', 'uses' => 'DoiController@edit', ]); Route::post('workflow/doi/update/{publish_id}', [ - 'middleware' => ['permission:dataset-publish'], + 'middleware' => ['permission:settings'], 'as' => 'workflow.doi.update', 'uses' => 'DoiController@update', ]);