Commit d1454f56 authored by Henning Leutz's avatar Henning Leutz 🥋

feat: #955

parent a9c38aa3
......@@ -14,6 +14,8 @@ QUI::$Ajax->registerFunction(
return;
}
QUI\Permissions\Permission::checkPermission('quiqqer.frontend.upload');
$Callable = new $callable();
if ($Callable instanceof QUI\Upload\Form) {
......
......@@ -89,10 +89,6 @@ class Setup
// workspaces
Workspace\Manager::setup();
// Upload Manager
$UploadManager = new Upload\Manager();
$UploadManager->setup();
QUI::getEvents()->fireEvent('setupMainSystemEnd');
}
......
......@@ -56,6 +56,9 @@
</permission>
<!-- Project User / group permissions -->
<permission name="quiqqer.frontend.upload" type="bool">
<defaultvalue>1</defaultvalue>
</permission>
<!-- Darf Projekte anlegen -->
<permission name="quiqqer.projects.create" type="bool"/>
......@@ -122,7 +125,6 @@
<!-- Editor permissions -->
<permission name="quiqqer.editors.toolbar.delete" type="bool"/>
<!-- File permissions -->
<permission name="quiqqer.projects.media.set_permissions" type="bool"/>
<permission name="quiqqer.projects.media.view" type="users_and_groups" area="media"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment