Authorize a simple user to get its estimates
This commit is contained in:
parent
3031839c65
commit
e77b9d884d
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ using Yavsc.Models.Billing;
|
||||||
namespace Yavsc.Controllers
|
namespace Yavsc.Controllers
|
||||||
{
|
{
|
||||||
[Produces("application/json")]
|
[Produces("application/json")]
|
||||||
[Route("api/do"),Authorize(Roles="Performer,Administrator")]
|
[Route("api/do"),Authorize()]
|
||||||
public class EstimateApiController : Controller
|
public class EstimateApiController : Controller
|
||||||
{
|
{
|
||||||
private ApplicationDbContext _context;
|
private ApplicationDbContext _context;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue