From 348a8963ae593d7fde7ac254ef1e2cb251993a49 Mon Sep 17 00:00:00 2001 From: esantangelo <enzo020895@gmail.com> Date: Sat, 31 Oct 2020 15:43:46 -0300 Subject: [PATCH] commit --- Tsi1.Api/Tsi1.Api/Controllers/UserController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tsi1.Api/Tsi1.Api/Controllers/UserController.cs b/Tsi1.Api/Tsi1.Api/Controllers/UserController.cs index 1fbbe5c..1e3f93c 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() { -- GitLab