Skip to content
Snippets Groups Projects
Commit f76622a0 authored by esantangelo's avatar esantangelo
Browse files

fix-GetById

parent 2b5140a7
No related branches found
No related tags found
1 merge request!31Develop
Pipeline #10381 passed
...@@ -349,7 +349,7 @@ namespace Tsi1.Api.Controllers ...@@ -349,7 +349,7 @@ namespace Tsi1.Api.Controllers
return Ok(result.Data); return Ok(result.Data);
} }
[Authorize(Roles = UserTypes.Student + ", " + UserTypes.Professor)] [Authorize(Roles = UserTypes.Student + ", " + UserTypes.Professor + ", " + UserTypes.FacultyAdmin + ", " + UserTypes.UdelarAdmin)]
[HttpGet("GetById/{userId}")] [HttpGet("GetById/{userId}")]
public async Task<IActionResult> GetById(int userId) public async Task<IActionResult> GetById(int userId)
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment