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

Forbidden access to feedback as teacher #47

Open
GibsS opened this issue Mar 6, 2017 · 2 comments
Open

Forbidden access to feedback as teacher #47

GibsS opened this issue Mar 6, 2017 · 2 comments
Assignees

Comments

@GibsS
Copy link
Contributor

GibsS commented Mar 6, 2017

I get a 403 when running api/alerts?session=[sessionId]. I guess it's the same problem as questions.

{"@context":"/app_dev.php/api/contexts/Error","@type":"Error","hydra:title":"An error occurred","hydra:description":"Unauthorized operation.","trace":[{"namespace":"","short_class":"","class":"","type":"","function":"","file":"/app/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php","line":122,"args":[]},{"namespace":"Symfony\Component\Security\Http\Firewall","short_class":"ExceptionListener","class":"Symfony\Component\Security\Http\Firewall\ExceptionListener","type":"-\u003E","function":"handleAccessDeniedException","file":"/app/vendor/symfony/symfony/src/Symfony/Component/Security/Http/Firewall/ExceptionListener.php","line":100,"args":[["object","Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent"],["object","Symfony\Component\Security\Core\Exception\AccessDeniedException"]]},{"namespace":"Symfony\Component\Security\Http\Firewall","short_class":"ExceptionListener","class":"Symfony\Component\Security\Http\Firewall\ExceptionListener","type":"-\u003E","function":"onKernelException","file":null,"line":null,"args":[["object","Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent"],["string","kernel.exception"],["object","Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher"]]},{"namespace":"","short_class":"","class":"","type":"","function":"call_user_func","file":"/app/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php","line":106,"args":[["array",[["object","Symfony\Component\Security\Http\Firewall\ExceptionListener"],["string","onKernelException"]]],["object","Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent"],["string","kernel.exception"],["object","Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher"]]},{"namespace":"Symfony\Component\EventDispatcher\Debug","short_class":"WrappedListener","class":"Symfony\Component\EventDispatcher\Debug\WrappedListener","type":"-\u003E","function":"__invoke","file":null,"line":null,"args":[["object","Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent"],["string","kernel.exception"],["object","Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher"]]},{"namespace":"","short_class":"","class":"","type":"","function":"call_user_func","file":"/app/var/cache/dev/classes.php","line":3272,"args":[["object","Symfony\Component\EventDispatcher\Debug\WrappedListener"],["object","Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent"],["string","kernel.exception"],["object","Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher"]]},{"namespace":"Symfony\Component\EventDispatcher","short_class":"EventDispatcher","class":"Symfony\Component\EventDispatcher\EventDispatcher","type":"-\u003E","function":"doDispatch","file":"/app/var/cache/dev/classes.php","line":3187,"args":[["array",[["object","Symfony\Component\EventDispatcher\Debug\WrappedListener"],["object","Symfony\Component\EventDispatcher\Debug\WrappedListener"],["object","Symfony\Component\EventDispatcher\Debug\WrappedListener"],["object","Symfony\Component\EventDispatcher\Debug\WrappedListener"],["object","Symfony\Component\EventDispatcher\Debug\WrappedListener"]]],["string","kernel.exception"],["object","Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent"]]},{"namespace":"Symfony\Component\EventDispatcher","short_class":"EventDispatcher","class":"Symfony\Component\EventDispatcher\EventDispatcher","type":"-\u003E","function":"dispatch","file":"/app/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php","line":136,"args":[["string","kernel.exception"],["object","Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent"]]},{"namespace":"Symfony\Component\EventDispatcher\Debug","short_class":"TraceableEventDispatcher","class":"Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher","type":"-\u003E","function":"dispatch","file":"/app/var/cache/dev/classes.php","line":4248,"args":[["string","kernel.exception"],["object","Symfony\Component\HttpKernel\Event\GetResponseForExceptionEvent"]]},{"namespace":"Symfony\Component\HttpKernel","short_class":"HttpKernel","class":"Symfony\Component\HttpKernel\HttpKernel","type":"-\u003E","function":"handleException","file":"/app/var/cache/dev/classes.php","line":4180,"args":[["object","Symfony\Component\Security\Core\Exception\AccessDeniedException"],["object","Symfony\Component\HttpFoundation\Request"],["integer",1]]},{"namespace":"Symfony\Component\HttpKernel","short_class":"HttpKernel","class":"Symfony\Component\HttpKernel\HttpKernel","type":"-\u003E","function":"handle","file":"/app/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php","line":168,"args":[["object","Symfony\Component\HttpFoundation\Request"],["integer",1],["boolean",true]]},{"namespace":"Symfony\Component\HttpKernel","short_class":"Kernel","class":"Symfony\Component\HttpKernel\Kernel","type":"-\u003E","function":"handle","file":"/app/web/app_dev.php","line":33,"args":[["object","Symfony\Component\HttpFoundation\Request"]]}]}

@GibsS
Copy link
Contributor Author

GibsS commented Mar 6, 2017

Sorry for the ugly dump. I tested again as admin and I don't get the error so it's very likely a permission issue.

@Stoakes Stoakes self-assigned this Mar 7, 2017
@Stoakes
Copy link
Collaborator

Stoakes commented Mar 7, 2017

Will be fixed this morning

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants