mirror of
https://github.com/wallabag/wallabag.git
synced 2025-10-05 19:31:02 +00:00
Add availability to disable an importer
This commit is contained in:
parent
cad5a24fb6
commit
7e7674a4a6
17 changed files with 332 additions and 3 deletions
|
@ -23,6 +23,7 @@ class OmnivoreController extends AbstractController
|
|||
|
||||
#[Route(path: '/import/omnivore', name: 'import_omnivore', methods: ['GET', 'POST'])]
|
||||
#[IsGranted('IMPORT_ENTRIES')]
|
||||
#[IsGranted('USE_IMPORTER', subject: 'omnivore')]
|
||||
public function indexAction(Request $request, OmnivoreImport $omnivore, Config $craueConfig, TranslatorInterface $translator)
|
||||
{
|
||||
$form = $this->createForm(UploadImportType::class);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue