fix: remove class permission requirement
This commit is contained in:
parent
e376dadb4b
commit
1fa3843b50
@ -23,7 +23,6 @@ use Symfony\Component\Security\Http\Attribute\CurrentUser;
|
|||||||
use Symfony\Component\Security\Http\Attribute\IsGranted;
|
use Symfony\Component\Security\Http\Attribute\IsGranted;
|
||||||
use Symfony\Component\String\Slugger\SluggerInterface;
|
use Symfony\Component\String\Slugger\SluggerInterface;
|
||||||
|
|
||||||
#[IsGranted('ROLE_ADMIN')]
|
|
||||||
class CompanyController extends AbstractController
|
class CompanyController extends AbstractController
|
||||||
{
|
{
|
||||||
public function __construct(
|
public function __construct(
|
||||||
|
Loading…
Reference in New Issue
Block a user