Skip to content
Snippets Groups Projects
Commit 7f014bcd authored by Damien's avatar Damien
Browse files

FEAT #5987 Groups Administration test

parent 4ad8efc4
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ class GroupController
return $response->withJson(['groups' => $groups]);
}
public function create(RequestInterface $request, ResponseInterface $response, $aArgs)
public function create(RequestInterface $request, ResponseInterface $response)
{
if (!ServiceModel::hasService(['id' => 'admin_groups', 'userId' => $_SESSION['user']['UserId'], 'location' => 'apps', 'type' => 'admin'])) {
return $response->withStatus(403)->withJson(['errors' => 'Service forbidden']);
......
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