mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-26 14:28:46 +00:00
feat(console): rename org (#4542)
* rename org * add data-e2e * e2e test * restore state after * use ngIf instead of hasrole directive and initialized regex * rm h2 check * Update e2e/cypress/e2e/organization/organizations.cy.ts Co-authored-by: Elio Bischof <[email protected]> * Update console/src/assets/i18n/de.json Co-authored-by: Elio Bischof <[email protected]> * Update console/src/assets/i18n/de.json Co-authored-by: Elio Bischof <[email protected]> * Update console/src/assets/i18n/en.json Co-authored-by: Elio Bischof <[email protected]> * change e2e test * org param * reintroduct org param * use org query param * org rename test * no initial focus on button * contain name Co-authored-by: Elio Bischof <[email protected]>
This commit is contained in:
co-authored by
Elio Bischof
parent
2bfa51da1c
commit
6e89b7d0a1
@@ -425,6 +425,8 @@ import {
|
||||
UpdateOrgIDPResponse,
|
||||
UpdateOrgMemberRequest,
|
||||
UpdateOrgMemberResponse,
|
||||
UpdateOrgRequest,
|
||||
UpdateOrgResponse,
|
||||
UpdateProjectGrantMemberRequest,
|
||||
UpdateProjectGrantMemberResponse,
|
||||
UpdateProjectGrantRequest,
|
||||
@@ -2353,6 +2355,12 @@ export class ManagementService {
|
||||
return this.grpcService.mgmt.updateApp(req, null).then((resp) => resp.toObject());
|
||||
}
|
||||
|
||||
public updateOrg(name: string): Promise<UpdateOrgResponse.AsObject> {
|
||||
const req = new UpdateOrgRequest();
|
||||
req.setName(name);
|
||||
return this.grpcService.mgmt.updateOrg(req, null).then((resp) => resp.toObject());
|
||||
}
|
||||
|
||||
public updateOIDCAppConfig(req: UpdateOIDCAppConfigRequest): Promise<UpdateOIDCAppConfigResponse.AsObject> {
|
||||
return this.grpcService.mgmt.updateOIDCAppConfig(req, null).then((resp) => resp.toObject());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user