GUAC-1053: Migrate to tabbed settings screen. Create user management tab.
This commit is contained in:
1 parent
e0a805cb6f
commit
82dee4640c
14 files changed
+445
-268
No files matched your search
@@ -472,7 +472,7 @@ angular.module('manage').controller('manageUserController', ['$scope', '$injecto
|
||||
* Cancels all pending edits, returning to the management page.
|
||||
*/
|
||||
$scope.cancel = function cancel() {
|
||||
$location.path('/manage/modules/users/');
|
||||
$location.path('/settings/users');
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -498,7 +498,7 @@ angular.module('manage').controller('manageUserController', ['$scope', '$injecto
|
||||
// Upon success, save any changed permissions
|
||||
permissionService.patchPermissions($scope.user.username, permissionsAdded, permissionsRemoved)
|
||||
.success(function patchedUserPermissions() {
|
||||
$location.path('/manage/modules/users/');
|
||||
$location.path('/settings/users');
|
||||
})
|
||||
|
||||
// Notify of any errors
|
||||
@@ -560,7 +560,7 @@ angular.module('manage').controller('manageUserController', ['$scope', '$injecto
|
||||
// Delete the user
|
||||
userService.deleteUser($scope.user)
|
||||
.success(function deletedUser() {
|
||||
$location.path('/manage/modules/users/');
|
||||
$location.path('/settings/users');
|
||||
})
|
||||
|
||||
// Notify of any errors
|
||||
|
||||
Reference in new issue
Block a user