Fetch complete app object for owner

This commit is contained in:
Girish Ramakrishnan
2018-08-03 23:00:25 -07:00
parent d742982973
commit eed460f435

View File

@@ -1188,7 +1188,7 @@ angular.module('Application').service('Client', ['$http', '$interval', 'md5', 'N
if (error) return callback(error);
asyncForEach(apps, function (app, iteratorCallback) {
var canManageApp = that._userInfo.admin;
var canManageApp = that._userInfo.admin || that._userInfo.id === app.ownerId;
if (!canManageApp) {
that._updateAppCache(app);