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
commit 4f67735b13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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