mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
feat(invite): worked on pending invitations list, revoke invite now works, #2353
This commit is contained in:
@@ -38,9 +38,8 @@ function (angular) {
|
||||
backendSrv.delete('/api/org/users/' + user.userId).then($scope.get);
|
||||
};
|
||||
|
||||
$scope.addUser = function() {
|
||||
if (!$scope.form.$valid) { return; }
|
||||
backendSrv.post('/api/org/users', $scope.user).then($scope.get);
|
||||
$scope.revokeInvite = function(invite) {
|
||||
backendSrv.patch('/api/org/invites/' + invite.id + '/revoke').then($scope.get);
|
||||
};
|
||||
|
||||
$scope.openInviteModal = function() {
|
||||
|
||||
Reference in New Issue
Block a user