From 52f86841c2d7ae180f3afe467b683e5f03ca8c9d Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Fri, 2 Sep 2016 00:32:44 +0200 Subject: [PATCH] Authorize a simple user to get its estimates --- Yavsc/ApiControllers/EstimateApiController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Yavsc/ApiControllers/EstimateApiController.cs b/Yavsc/ApiControllers/EstimateApiController.cs index 8381b722..3949ab72 100644 --- a/Yavsc/ApiControllers/EstimateApiController.cs +++ b/Yavsc/ApiControllers/EstimateApiController.cs @@ -10,7 +10,7 @@ using Yavsc.Models.Billing; namespace Yavsc.Controllers { [Produces("application/json")] - [Route("api/do"),Authorize(Roles="Performer,Administrator")] + [Route("api/do"),Authorize()] public class EstimateApiController : Controller { private ApplicationDbContext _context;