create two permissions for azmayesh panel
This commit is contained in:
@@ -38,6 +38,7 @@ Route::prefix('profile')
|
||||
|
||||
Route::prefix('azmayesh_types')
|
||||
->name('azmayesh_types.')
|
||||
->middleware('can:azmayesh-type-management')
|
||||
->controller(AzmayeshTypeController::class)
|
||||
->group(function () {
|
||||
Route::get('/', 'index')->name('index');
|
||||
@@ -51,6 +52,7 @@ Route::prefix('azmayesh_types')
|
||||
|
||||
Route::prefix('azmayesh_samples')
|
||||
->name('azmayesh_samples.')
|
||||
->middleware('can:azmayesh-management')
|
||||
->controller(AzmayeshSampleController::class)
|
||||
->group(function () {
|
||||
Route::get('/index/{azmayesh_id}', 'index')->name('index');
|
||||
@@ -62,6 +64,7 @@ Route::prefix('azmayesh_samples')
|
||||
|
||||
Route::prefix('azmayeshes')
|
||||
->name('azmayeshes.')
|
||||
->middleware('can:azmayesh-management')
|
||||
->controller(AzmayeshController::class)
|
||||
->group(function () {
|
||||
Route::get('/', 'index')->name('index');
|
||||
|
||||
Reference in New Issue
Block a user