PLT-7978 Add websocket event for user role update (#7745)
* Add websocket event for user role update * Fix tests * More test fixes
Этот коммит содержится в:
коммит произвёл
George Goldberg
родитель
6886de04d4
Коммит
06ec648cf3
@@ -483,7 +483,7 @@ func TestGetUser(t *testing.T) {
|
||||
t.Fatal("shouldn't have accss")
|
||||
}
|
||||
|
||||
th.App.UpdateUserRoles(ruser.Data.(*model.User).Id, model.ROLE_SYSTEM_ADMIN.Id)
|
||||
th.App.UpdateUserRoles(ruser.Data.(*model.User).Id, model.ROLE_SYSTEM_ADMIN.Id, false)
|
||||
|
||||
Client.Login(user.Email, "passwd1")
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user