[MM-28000] Fix system manager can download export files without right permissions (#16569)
Automatic Merge
Этот коммит содержится в:
@@ -2448,7 +2448,7 @@ func TestGetUsersNotInTeam(t *testing.T) {
|
||||
for _, u := range rusers {
|
||||
CheckUserSanitization(t, u)
|
||||
}
|
||||
require.Len(t, rusers, 1, "should be 1 user in total")
|
||||
require.Len(t, rusers, 2, "should be 2 users in total")
|
||||
|
||||
rusers, resp = th.Client.GetUsersNotInTeam(teamId, 0, 60, resp.Etag)
|
||||
CheckEtag(t, rusers, resp)
|
||||
@@ -2457,7 +2457,7 @@ func TestGetUsersNotInTeam(t *testing.T) {
|
||||
CheckNoError(t, resp)
|
||||
require.Len(t, rusers, 1, "should be 1 per page")
|
||||
|
||||
rusers, resp = th.Client.GetUsersNotInTeam(teamId, 1, 1, "")
|
||||
rusers, resp = th.Client.GetUsersNotInTeam(teamId, 2, 1, "")
|
||||
CheckNoError(t, resp)
|
||||
require.Empty(t, rusers, "should be no users")
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user