[release-10.11] MM-68547: Tighten authorization on group syncable link and patch endpoints (#36434)

Automatic Merge
Этот коммит содержится в:
Maria A Nunez
2026-05-06 02:53:51 -04:00
коммит произвёл GitHub
родитель 977c791e5b
Коммит 202d125afa
8 изменённых файлов: 1006 добавлений и 23 удалений

Просмотреть файл

@@ -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);
});
});