Skip to content

Commit

Permalink
Fix authorization issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasbbs committed Mar 19, 2024
1 parent 87c872b commit 0ddf802
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Areas/Admin/Controllers/TablesController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@
using ClearEdge_Tables.Data;
using ClearEdge_Tables.Models;
using ClearEdge_Tables.Repository.IRepository;
using Microsoft.AspNetCore.Authorization;

namespace ClearEdge_Tables.Areas.Admin.Controllers
{
[Area("Admin")]
[Authorize(Roles = "Admin")]
public class TablesController : Controller
{
private readonly IUnitOfWork _unitOfWork;
Expand Down

0 comments on commit 0ddf802

Please sign in to comment.