mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-10 08:05:12 +00:00
fix: remove old feature references in console (#3567)
* feat: permit all features to every instance and organisation * remove old references in console
This commit is contained in:
@@ -37,8 +37,6 @@ import {
|
||||
GetCustomVerifyPhoneMessageTextResponse,
|
||||
GetDefaultDomainClaimedMessageTextRequest,
|
||||
GetDefaultDomainClaimedMessageTextResponse,
|
||||
GetDefaultFeaturesRequest,
|
||||
GetDefaultFeaturesResponse,
|
||||
GetDefaultInitMessageTextRequest,
|
||||
GetDefaultInitMessageTextResponse,
|
||||
GetDefaultLoginTextsRequest,
|
||||
@@ -59,8 +57,6 @@ import {
|
||||
GetLockoutPolicyResponse,
|
||||
GetLoginPolicyRequest,
|
||||
GetLoginPolicyResponse,
|
||||
GetOrgFeaturesRequest,
|
||||
GetOrgFeaturesResponse,
|
||||
GetOrgIAMPolicyRequest,
|
||||
GetOrgIAMPolicyResponse,
|
||||
GetPasswordAgePolicyRequest,
|
||||
@@ -118,14 +114,10 @@ import {
|
||||
ResetCustomLoginTextsToDefaultResponse,
|
||||
ResetCustomOrgIAMPolicyToDefaultRequest,
|
||||
ResetCustomOrgIAMPolicyToDefaultResponse,
|
||||
ResetOrgFeaturesRequest,
|
||||
ResetOrgFeaturesResponse,
|
||||
SetCustomLoginTextsRequest,
|
||||
SetCustomLoginTextsResponse,
|
||||
SetDefaultDomainClaimedMessageTextRequest,
|
||||
SetDefaultDomainClaimedMessageTextResponse,
|
||||
SetDefaultFeaturesRequest,
|
||||
SetDefaultFeaturesResponse,
|
||||
SetDefaultInitMessageTextRequest,
|
||||
SetDefaultInitMessageTextResponse,
|
||||
SetDefaultPasswordlessRegistrationMessageTextRequest,
|
||||
@@ -136,8 +128,6 @@ import {
|
||||
SetDefaultVerifyEmailMessageTextResponse,
|
||||
SetDefaultVerifyPhoneMessageTextRequest,
|
||||
SetDefaultVerifyPhoneMessageTextResponse,
|
||||
SetOrgFeaturesRequest,
|
||||
SetOrgFeaturesResponse,
|
||||
SetUpOrgRequest,
|
||||
SetUpOrgResponse,
|
||||
UpdateCustomOrgIAMPolicyRequest,
|
||||
@@ -381,33 +371,6 @@ export class AdminService {
|
||||
return this.grpcService.admin.updatePrivacyPolicy(req, null).then((resp) => resp.toObject());
|
||||
}
|
||||
|
||||
// Features
|
||||
|
||||
public getOrgFeatures(orgId: string): Promise<GetOrgFeaturesResponse.AsObject> {
|
||||
const req = new GetOrgFeaturesRequest();
|
||||
req.setOrgId(orgId);
|
||||
return this.grpcService.admin.getOrgFeatures(req, null).then((resp) => resp.toObject());
|
||||
}
|
||||
|
||||
public setOrgFeatures(req: SetOrgFeaturesRequest): Promise<SetOrgFeaturesResponse.AsObject> {
|
||||
return this.grpcService.admin.setOrgFeatures(req, null).then((resp) => resp.toObject());
|
||||
}
|
||||
|
||||
public resetOrgFeatures(orgId: string): Promise<ResetOrgFeaturesResponse.AsObject> {
|
||||
const req = new ResetOrgFeaturesRequest();
|
||||
req.setOrgId(orgId);
|
||||
return this.grpcService.admin.resetOrgFeatures(req, null).then((resp) => resp.toObject());
|
||||
}
|
||||
|
||||
public getDefaultFeatures(): Promise<GetDefaultFeaturesResponse.AsObject> {
|
||||
const req = new GetDefaultFeaturesRequest();
|
||||
return this.grpcService.admin.getDefaultFeatures(req, null).then((resp) => resp.toObject());
|
||||
}
|
||||
|
||||
public setDefaultFeatures(req: SetDefaultFeaturesRequest): Promise<SetDefaultFeaturesResponse.AsObject> {
|
||||
return this.grpcService.admin.setDefaultFeatures(req, null).then((resp) => resp.toObject());
|
||||
}
|
||||
|
||||
/* Policies */
|
||||
|
||||
/* complexity */
|
||||
|
||||
Reference in New Issue
Block a user