1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 22:03:36 +00:00

[AC-2169] Group modal - limit admin access - members tab (#8650)

* Restrict user from adding themselves to existing group
This commit is contained in:
Thomas Rittson
2024-04-17 09:31:48 +10:00
committed by GitHub
parent 65f1bd2e3a
commit f45eec1a4f
5 changed files with 98 additions and 41 deletions

View File

@@ -866,16 +866,6 @@ export class ApiService implements ApiServiceAbstraction {
return r;
}
async putGroupUsers(organizationId: string, id: string, request: string[]): Promise<any> {
await this.send(
"PUT",
"/organizations/" + organizationId + "/groups/" + id + "/users",
request,
true,
false,
);
}
deleteGroupUser(organizationId: string, id: string, organizationUserId: string): Promise<any> {
return this.send(
"DELETE",