test(federation): add permissions update request to end-to-end tests
Some checks are pending
Code scanning - action / CodeQL-Build (push) Waiting to run

This commit is contained in:
Guilherme Gazzo 2025-12-26 09:27:53 -03:00
parent f6167a69be
commit 00605ecc20

View File

@ -133,6 +133,13 @@ import { SynapseClient } from '../helper/synapse-client';
},
rc1AdminRequestConfig,
);
await rc1AdminRequestConfig.request
.post(api('permissions.update'))
.set(rc1AdminRequestConfig.credentials)
.send({ permissions: [{ _id: 'access-federation', roles: ['admin', 'user'] }] })
.expect('Content-Type', 'application/json')
.expect(200);
});
afterAll(async () => {