Skip to content

Commit

Permalink
Merge pull request #7645 from ProcessMaker/observation/FOUR-19802
Browse files Browse the repository at this point in the history
observation/FOUR-19802 Changed Logs permissions
  • Loading branch information
ryancooley authored Oct 29, 2024
2 parents bbf78fa + 96bacab commit 2bcaddd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@
// Files
Route::get('files', [FileController::class, 'index'])->name('files.index')->middleware('can:view-files');
Route::get('files/{file}', [FileController::class, 'show'])->name('files.show')->middleware('can:view,file');
Route::get('files/{file}/logs', [FileController::class, 'showLogs'])->name('file_logs.show')->middleware('can:view,file');
Route::get('files/{file}/logs', [FileController::class, 'showLogs'])->name('file_logs.show');
Route::get('files/{file}/contents', [FileController::class, 'download'])->name('files.download')->middleware('can:view,file');
Route::post('files', [FileController::class, 'store'])->name('files.store')->middleware('can:create,ProcessMaker\Models\Media');
Route::put('files/{file}', [FileController::class, 'update'])->name('files.update')->middleware('can:update,file');
Expand Down

0 comments on commit 2bcaddd

Please sign in to comment.