Skip to content
Snippets Groups Projects
Verified Commit 637ae6d1 authored by Damien's avatar Damien
Browse files

FEAT #10994 TIME 0:05 History adjustments

parent 47017866
No related branches found
No related tags found
No related merge requests found
......@@ -60,9 +60,9 @@ class HistoryController
public function get(Request $request, Response $response)
{
// if (!PrivilegeController::hasPrivilege(['userId' => $GLOBALS['id'], 'privilege' => 'manage_history'])) {
// return $response->withStatus(403)->withJson(['errors' => 'Service forbidden']);
// }
if (!PrivilegeController::hasPrivilege(['userId' => $GLOBALS['id'], 'privilege' => 'manage_history'])) {
return $response->withStatus(403)->withJson(['errors' => 'Service forbidden']);
}
$queryParams = $request->getQueryParams();
$body = $request->getParsedBody();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment