[release-10.11] MM-68547: Tighten authorization on group syncable link and patch endpoints (#36434)
Automatic Merge
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
977c791e5b
Коммит
202d125afa
@@ -394,8 +394,10 @@ describe('group configuration', () => {
|
||||
// # Save settings
|
||||
savePage();
|
||||
|
||||
// * Check the groupteam via the API to ensure its role wasn't updated
|
||||
// * Check the groupteam via the API to ensure the team was
|
||||
// removed (delete_at != 0) and its role wasn't updated.
|
||||
cy.apiGetGroupTeam(groupID, testTeam.id).then(({body}) => {
|
||||
expect(body.delete_at).to.not.eq(0);
|
||||
expect(body.scheme_admin).to.eq(false);
|
||||
});
|
||||
});
|
||||
@@ -519,8 +521,10 @@ describe('group configuration', () => {
|
||||
// # Save settings
|
||||
savePage();
|
||||
|
||||
// * Check the groupteam via the API to ensure its role wasn't updated
|
||||
// * Check the groupteam via the API to ensure the channel was
|
||||
// removed (delete_at != 0) and its role wasn't updated.
|
||||
cy.apiGetGroupChannel(groupID, testChannel.id).then(({body}) => {
|
||||
expect(body.delete_at).to.not.eq(0);
|
||||
expect(body.scheme_admin).to.eq(false);
|
||||
});
|
||||
});
|
||||
|
||||
Ссылка в новой задаче
Block a user