Merge pull request #154 from sbwalker/master

rollback security change as it affects installer - will need to evaluate more thoroughly
This commit is contained in:
Shaun Walker
2019-10-23 15:11:36 -04:00
committed by GitHub

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);