diff --git a/Tsi1.Api/Tsi1.Api/Controllers/UserController.cs b/Tsi1.Api/Tsi1.Api/Controllers/UserController.cs index 1fbbe5ca1f7cdb42755c0717dbfc42a9035983aa..1e3f93cc85e8feecb2c7e0bfaee509c2fec8edb3 100644 --- a/Tsi1.Api/Tsi1.Api/Controllers/UserController.cs +++ b/Tsi1.Api/Tsi1.Api/Controllers/UserController.cs @@ -171,7 +171,7 @@ namespace Tsi1.Api.Controllers } - [Authorize(Roles = UserTypes.Student + ", " + UserTypes.Professor)] + [Authorize(Roles = UserTypes.Student + ", " + UserTypes.Professor + ", " + UserTypes.FacultyAdmin)] [HttpGet("GetAll")] public async Task<IActionResult> GetAll() {