Skip to content
Snippets Groups Projects
Commit cd3f1b74 authored by Etienne LOUPIAS's avatar Etienne LOUPIAS
Browse files

fix(carto): lockdown structure info display (parameters api 401 Unauthorized)

parent 86d96ab5
No related branches found
No related tags found
3 merge requests!247V2.1.0,!242V2.0,!186fix(carto): lockdown structure info display (parameters api 401 Unauthorized)
...@@ -10,8 +10,6 @@ export class ParametersController { ...@@ -10,8 +10,6 @@ export class ParametersController {
constructor(private parametersService: ParametersService) {} constructor(private parametersService: ParametersService) {}
@Get() @Get()
@UseGuards(JwtAuthGuard, RolesGuard)
@Roles('admin')
public async getParameters(): Promise<Parameters> { public async getParameters(): Promise<Parameters> {
return this.parametersService.getParameters(); return this.parametersService.getParameters();
} }
......
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