diff options
Diffstat (limited to 'ecomp-portal-FE-common/client/app/views/users')
-rw-r--r-- | ecomp-portal-FE-common/client/app/views/users/users.controller.js | 10 | ||||
-rw-r--r-- | ecomp-portal-FE-common/client/app/views/users/users.tpl.html | 1 |
2 files changed, 0 insertions, 11 deletions
diff --git a/ecomp-portal-FE-common/client/app/views/users/users.controller.js b/ecomp-portal-FE-common/client/app/views/users/users.controller.js index 0a05d702..dfe1da6c 100644 --- a/ecomp-portal-FE-common/client/app/views/users/users.controller.js +++ b/ecomp-portal-FE-common/client/app/views/users/users.controller.js @@ -253,16 +253,6 @@ }); }; - this.syncRolesFromExternalAuthSystem = (appId) =>{ - applicationsService.syncRolesEcompFromExtAuthSystem(appId).then(function(res){ - if(res.status == 200){ - confirmBoxService.showInformation('Sync operation completed successfully!').then(isConfirmed => {}); - } else{ - confirmBoxService.showInformation('Sync operation failed for '+app).then(isConfirmed => {}); - } - }); - }; - $scope.$watch('users.selectedApp.value', (newVal, oldVal) => { if(typeof(newVal) != 'undefined' && !newVal.includes("Select")){ applicationsService.getSingleAppInfo(newVal).then(function(res) { diff --git a/ecomp-portal-FE-common/client/app/views/users/users.tpl.html b/ecomp-portal-FE-common/client/app/views/users/users.tpl.html index 14371236..ef08e50b 100644 --- a/ecomp-portal-FE-common/client/app/views/users/users.tpl.html +++ b/ecomp-portal-FE-common/client/app/views/users/users.tpl.html @@ -54,7 +54,6 @@ </div> <button class="btn btn-alt btn-small" id="users-button-add" ng-click="users.openAddNewUserModal()"><i class="icon-people-userbookmark" aria-hidden="true"></i> Add User</button> <button class="btn btn-alt btn-small" id="users-bulk-upload-button-add" ng-click="users.openBulkUserUploadModal()"><i class="icon-arrows-upload" aria-hidden="true"></i> Bulk Upload</button> - <button class="btn btn-alt btn-small" id="users-button-sync" ng-show="syncRolesApplied" ng-click="users.syncRolesFromExternalAuthSystem(app.appId)"><i class="icon-arrows-update-refresh-syncL" aria-hidden="true"></i> Sync Roles</button> </div> </div> <div ng-hide="users.isLoadingTable"> |