diff --git a/Tsi1.Api/Tsi1.Api/Controllers/SectionController.cs b/Tsi1.Api/Tsi1.Api/Controllers/SectionController.cs index 487e4653bb9edd3cb495722e9b5c1ad40a8c435d..fbfec367aca7a26a96ddf74f58de26ee1817a720 100644 --- a/Tsi1.Api/Tsi1.Api/Controllers/SectionController.cs +++ b/Tsi1.Api/Tsi1.Api/Controllers/SectionController.cs @@ -8,7 +8,7 @@ using Tsi1.BusinessLayer.Interfaces; namespace Tsi1.Api.Controllers { - [Authorize(Roles = UserTypes.Professor)] + [Authorize(Roles = UserTypes.Professor + ", " + UserTypes.FacultyAdmin)] [Route("api/[controller]")] [ApiController] public class SectionController : ControllerBase diff --git a/Tsi1.Api/Tsi1.Api/Controllers/SectionItemController.cs b/Tsi1.Api/Tsi1.Api/Controllers/SectionItemController.cs index 42ec2039f6c563e8ddabd9f42fbdd4989fda42c3..ee3c5e3c82c9d354939b94d2b3e9048b60fd6cd1 100644 --- a/Tsi1.Api/Tsi1.Api/Controllers/SectionItemController.cs +++ b/Tsi1.Api/Tsi1.Api/Controllers/SectionItemController.cs @@ -9,7 +9,7 @@ using Tsi1.BusinessLayer.Interfaces; namespace Tsi1.Api.Controllers { - [Authorize(Roles = UserTypes.Professor)] + [Authorize(Roles = UserTypes.Professor + ", " + UserTypes.FacultyAdmin)] [Route("api/[controller]")] [ApiController] public class SectionItemController : ControllerBase