Skip to content
Snippets Groups Projects
Unverified Commit 2917b521 authored by Marcelo Rodriguez's avatar Marcelo Rodriguez
Browse files

Da permisos para endpoints de section al udelar admin

parent 977a469c
No related branches found
No related tags found
1 merge request!44Feature/permisos section admin
......@@ -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
......
......@@ -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
......
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