rollback security change as it affects installer - will need to evaluate more thoroughly

This commit is contained in:
Shaun Walker 2019-10-23 15:09:06 -04:00
parent 7f9e47edb6
commit db3309d9dd

View File

@ -22,7 +22,6 @@ namespace Oqtane.Controllers
// GET: api/<controller>
[HttpGet]
[Authorize(Roles = Constants.HostRole)]
public IEnumerable<Tenant> Get()
{
return Tenants.GetTenants();
@ -30,7 +29,6 @@ namespace Oqtane.Controllers
// GET api/<controller>/5
[HttpGet("{id}")]
[Authorize(Roles = Constants.HostRole)]
public Tenant Get(int id)
{
return Tenants.GetTenant(id);