TODO block is obsolete

This commit is contained in:
Girish Ramakrishnan
2020-03-29 13:10:19 -07:00
parent 95da9744c1
commit d5880cb953

View File

@@ -23,11 +23,6 @@ var apps = require('./apps.js'),
var gHttpServer = null;
function authorizeApp(req, res, next) {
// TODO add here some authorization
// - block apps not using the docker addon
// - block calls regarding platform containers
// - only allow managing and inspection of containers belonging to the app
// make the tests pass for now
if (constants.TEST) {
req.app = { id: 'testappid' };