mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-04 14:35:49 +01:00
[ReelCalculator] Added permission and added it to tools menu.
This commit is contained in:
@@ -21,6 +21,8 @@ class ToolsController extends AbstractController
|
||||
*/
|
||||
public function reelCalculator() : Response
|
||||
{
|
||||
$this->denyAccessUnlessGranted('@tools.reel_calculator');
|
||||
|
||||
return $this->render("Tools/ReelCalculator/main.html.twig");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user