mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-05-17 05:42:06 +00:00
Added role permissions for exporting content
This commit is contained in:
parent
82c6597a60
commit
eda9e89c55
20 changed files with 196 additions and 36 deletions
app/Http/Controllers
|
@ -19,6 +19,7 @@ class ChapterExportController extends Controller
|
|||
{
|
||||
$this->chapterRepo = $chapterRepo;
|
||||
$this->exportFormatter = $exportFormatter;
|
||||
$this->middleware('can:content-export');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue