| | |
| | | }); |
| | | }); |
| | | |
| | | // 사용자 관리 - 사용자 등급 변경 했을 때 |
| | | $rootScope.webSocket.client.subscribe('/user/notification/changeUserLevel', function (notification) { |
| | | SweetAlert.warning($filter("translate")("common.changeUserLevel"), $filter("translate")("common.logoutForLevelChange")); |
| | | $rootScope.$broadcast("logout"); |
| | | }); |
| | | |
| | | // 사용자 관리 - 사용자 부서 변경 했을 때 |
| | | $rootScope.webSocket.client.subscribe('/user/notification/changeUserDepartment', function (notification) { |
| | | SweetAlert.warning($filter("translate")("common.changeUserDepartment"), $filter("translate")("common.logoutForDepartmentChange")); |
| | | $rootScope.$broadcast("logout"); |
| | | }); |
| | | |
| | | // 참여 업무 공간 비활성화 알림 - 해당 업무 공간를 보고 있을 때 |
| | | $rootScope.webSocket.client.subscribe('/user/notification/workspace-disabled', function (notification) { |
| | | // edit by zenith at 20200801 |