mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 18:28:49 +02:00
Implemented permission system for part parameters.
This commit is contained in:
parent
e72fc2716b
commit
f8af23b92b
6 changed files with 30 additions and 3 deletions
|
@ -44,6 +44,7 @@ namespace App\Controller;
|
|||
|
||||
use App\Controller\AdminPages\BaseAdminController;
|
||||
use App\Entity\Attachments\GroupAttachment;
|
||||
use App\Entity\Parameters\GroupParameter;
|
||||
use App\Entity\UserSystem\Group;
|
||||
use App\Form\AdminPages\GroupAdminForm;
|
||||
use App\Services\EntityExporter;
|
||||
|
@ -65,6 +66,7 @@ class GroupController extends BaseAdminController
|
|||
protected $form_class = GroupAdminForm::class;
|
||||
protected $route_base = 'group';
|
||||
protected $attachment_class = GroupAttachment::class;
|
||||
protected $parameter_class = GroupParameter::class;
|
||||
|
||||
/**
|
||||
* @Route("/{id}/edit/{timestamp}", requirements={"id"="\d+"}, name="group_edit")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue