Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem of AccessDeniedHttpException #141

Closed
CRL75 opened this issue Jul 4, 2019 · 0 comments
Closed

Problem of AccessDeniedHttpException #141

CRL75 opened this issue Jul 4, 2019 · 0 comments
Assignees
Labels

Comments

@CRL75
Copy link

CRL75 commented Jul 4, 2019

Hello,
I am currently experiencing an access refusal when submitting a ticket, in order to finalize the request or to consult the ticket, I do not understand because I try to connect to Symfony in USER or ADMIN but nothing to do that does not work

`Symfony\Component\HttpKernel\Exception\
AccessDeniedHttpException
in vendor/hackzilla/ticket-bundle/Manager/UserManager.php (line 97)
UserManager->hasPermission(0, object(Ticket)) in vendor/hackzilla/ticket-bundle/Controller/TicketController.php (line 130)
TicketController->showAction('36')
call_user_func_array(array(object(TicketController), 'showAction'), array('36')) in var/cache/dev/classes.php (line 6663)
HttpKernel->handleRaw(object(Request), 1) in var/cache/dev/classes.php (line 6618)
HttpKernel->handle(object(Request), 1, true) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php (line 200)
Kernel->handle(object(Request)) in web/app_dev.php (line 29)

$kernel = new AppKernel('dev', true);
if (PHP_VERSION_ID < 70000) {
    $kernel->loadClassCache();
}
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);

`

@phansys phansys added the bug label Aug 19, 2019
@phansys phansys self-assigned this Aug 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants