From 87c872b71215687810c15b2e276ff69325b8e68d Mon Sep 17 00:00:00 2001 From: Lucas Breno de Souza Noronha Braga Date: Tue, 19 Mar 2024 15:01:36 -0400 Subject: [PATCH] Fix authorization minor issue --- Areas/Admin/Controllers/OrderController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Areas/Admin/Controllers/OrderController.cs b/Areas/Admin/Controllers/OrderController.cs index 2833dc4..8317213 100644 --- a/Areas/Admin/Controllers/OrderController.cs +++ b/Areas/Admin/Controllers/OrderController.cs @@ -10,6 +10,7 @@ namespace ClearEdge_Tables.Areas.Admin.Controllers { [Area("admin")] + [Authorize(Roles = "Admin")] public class OrderController : Controller { private readonly IUnitOfWork _unitOfWork;