zitadel/internal/command
Livio Amstutz 75d4b33281
fix: handle org features downgrades (#1578)
* features

* features

* features

* fix json tags

* add features handler to auth

* mocks for tests

* add setup step

* fixes

* add featurelist to auth api

* fx proto merge

* remove policies

* factors

* handle auth factors

* test org features

* cleanup
2021-04-12 17:03:09 +02:00
..
auth_checks.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
command.go feat: features (#1427) 2021-03-25 17:26:21 +01:00
converter.go fix: some backend bugs (#1438) 2021-03-19 18:46:26 +01:00
features_model.go feat: features (#1427) 2021-03-25 17:26:21 +01:00
iam_converter.go feat: features (#1427) 2021-03-25 17:26:21 +01:00
iam_features_model.go feat: features (#1427) 2021-03-25 17:26:21 +01:00
iam_features.go feat: features (#1427) 2021-03-25 17:26:21 +01:00
iam_idp_config_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_idp_config_test.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
iam_idp_config.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
iam_idp_oidc_config_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_idp_oidc_config_test.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
iam_idp_oidc_config.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
iam_member_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_member_test.go fix: some backend bugs (#1438) 2021-03-19 18:46:26 +01:00
iam_member.go fix: some backend bugs (#1438) 2021-03-19 18:46:26 +01:00
iam_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_label_model.go fix: import user, hide login name suffix (#1474) 2021-03-25 14:41:07 +01:00
iam_policy_label_test.go fix: import user, hide login name suffix (#1474) 2021-03-25 14:41:07 +01:00
iam_policy_label.go fix: import user, hide login name suffix (#1474) 2021-03-25 14:41:07 +01:00
iam_policy_login_factors_model.go feat: features (#1427) 2021-03-25 17:26:21 +01:00
iam_policy_login_identity_provider_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_login_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_login_test.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
iam_policy_login.go feat: features (#1427) 2021-03-25 17:26:21 +01:00
iam_policy_mail_template_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_mail_template_test.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
iam_policy_mail_template.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
iam_policy_mail_text_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_mail_text_test.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
iam_policy_mail_text.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
iam_policy_org_iam_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_org_iam_test.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
iam_policy_org_iam.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
iam_policy_password_age_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_password_age_test.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
iam_policy_password_age.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
iam_policy_password_complexity_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_password_complexity_test.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
iam_policy_password_complexity.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
iam_policy_password_lockout_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_password_lockout_test.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
iam_policy_password_lockout.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
iam.go fix: todos (#1346) 2021-03-01 08:48:50 +01:00
identity_provider_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
idp_config_model.go fix: todos (#1346) 2021-03-01 08:48:50 +01:00
key_pair_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
key_pair.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
main_test.go feat: features (#1427) 2021-03-25 17:26:21 +01:00
member_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
oidc_config_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_converter.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_domain_model.go fix: todos (#1346) 2021-03-01 08:48:50 +01:00
org_domain_test.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
org_domain.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
org_features_model.go feat: features (#1427) 2021-03-25 17:26:21 +01:00
org_features_test.go fix: handle org features downgrades (#1578) 2021-04-12 17:03:09 +02:00
org_features.go fix: handle org features downgrades (#1578) 2021-04-12 17:03:09 +02:00
org_idp_config_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_idp_config_test.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
org_idp_config.go fix: handle org features downgrades (#1578) 2021-04-12 17:03:09 +02:00
org_idp_oidc_config_model.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
org_idp_oidc_config_test.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
org_idp_oidc_config.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
org_member_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_member_test.go fix: some backend bugs (#1438) 2021-03-19 18:46:26 +01:00
org_member.go fix: some backend bugs (#1438) 2021-03-19 18:46:26 +01:00
org_model.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
org_policy_label_model.go fix: import user, hide login name suffix (#1474) 2021-03-25 14:41:07 +01:00
org_policy_label_test.go fix: import user, hide login name suffix (#1474) 2021-03-25 14:41:07 +01:00
org_policy_label.go fix: handle org features downgrades (#1578) 2021-04-12 17:03:09 +02:00
org_policy_login_factors_model.go fix: handle org features downgrades (#1578) 2021-04-12 17:03:09 +02:00
org_policy_login_identity_provider_model.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
org_policy_login_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_login_test.go feat: features (#1427) 2021-03-25 17:26:21 +01:00
org_policy_login.go fix: handle org features downgrades (#1578) 2021-04-12 17:03:09 +02:00
org_policy_mail_template_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_mail_template_test.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
org_policy_mail_template.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
org_policy_mail_text_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_mail_text_test.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
org_policy_mail_text.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
org_policy_org_iam_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_org_iam_test.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
org_policy_org_iam.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
org_policy_password_age_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_password_age_test.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
org_policy_password_age.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
org_policy_password_complexity_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_password_complexity_test.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
org_policy_password_complexity.go fix: handle org features downgrades (#1578) 2021-04-12 17:03:09 +02:00
org_policy_password_lockout_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_password_lockout_test.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
org_policy_password_lockout.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
org_test.go fix: some backend bugs (#1438) 2021-03-19 18:46:26 +01:00
org.go fix: some backend bugs (#1438) 2021-03-19 18:46:26 +01:00
policy_label_model.go fix: import user, hide login name suffix (#1474) 2021-03-25 14:41:07 +01:00
policy_login_factors_model.go feat: features (#1427) 2021-03-25 17:26:21 +01:00
policy_login_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
policy_mail_template_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
policy_mail_text_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
policy_org_iam_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
policy_password_age_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
policy_password_complexity_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
policy_password_lockout_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
project_application_api_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
project_application_api_test.go fix: remove app name check on ChangeAPIApplication (#1561) 2021-04-09 11:50:06 +02:00
project_application_api.go fix: remove app name check on ChangeAPIApplication (#1561) 2021-04-09 11:50:06 +02:00
project_application_key_model.go fix: es bugs (#1455) 2021-03-23 15:08:49 +01:00
project_application_key_test.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
project_application_key.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
project_application_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
project_application_oidc_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
project_application_oidc_test.go fix: some backend bugs (#1438) 2021-03-19 18:46:26 +01:00
project_application_oidc.go fix: some backend bugs (#1438) 2021-03-19 18:46:26 +01:00
project_application_test.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
project_application.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
project_converter.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
project_grant_member_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
project_grant_member_test.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
project_grant_member.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
project_grant_model.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
project_grant_test.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
project_grant.go fix: some backend bugs (#1438) 2021-03-19 18:46:26 +01:00
project_member_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
project_member_test.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
project_member.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
project_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
project_role_model.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
project_role_test.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
project_role.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
project_test.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
project.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
setup_step1.go fix: some backend bugs (#1438) 2021-03-19 18:46:26 +01:00
setup_step2.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
setup_step3.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
setup_step4.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
setup_step5.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
setup_step6.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
setup_step7.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
setup_step8.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
setup_step9.go feat: features (#1427) 2021-03-25 17:26:21 +01:00
setup_step10.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
setup_step11.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
setup_step12.go feat: features (#1427) 2021-03-25 17:26:21 +01:00
setup.go fix: setup (#1515) 2021-04-01 10:14:07 +02:00
unique_constraints_model.go fix: setup (#1555) 2021-04-07 20:44:43 +02:00
user_converter.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
user_grant_converter.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
user_grant_model.go fix: add v1 events (#1525) 2021-04-06 09:57:58 +02:00
user_grant_test.go fix: new es bug fixes (#1477) 2021-03-25 18:12:24 +01:00
user_grant.go fix: new es bug fixes (#1477) 2021-03-25 18:12:24 +01:00
user_human_address_model.go fix: add v1 events (#1525) 2021-04-06 09:57:58 +02:00
user_human_address.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
user_human_adress_test.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
user_human_email_model.go fix: add v1 events (#1525) 2021-04-06 09:57:58 +02:00
user_human_email_test.go fix: backend fixes (#1452) 2021-03-22 15:36:59 +01:00
user_human_email.go fix: backend fixes (#1452) 2021-03-22 15:36:59 +01:00
user_human_externalidp_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
user_human_externalidp_test.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
user_human_externalidp.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
user_human_init_model.go fix: add v1 events (#1525) 2021-04-06 09:57:58 +02:00
user_human_init_test.go fix: backend bugs (#1449) 2021-03-22 14:40:25 +01:00
user_human_init.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
user_human_model.go fix: add v1 events (#1525) 2021-04-06 09:57:58 +02:00
user_human_otp_model.go fix: add v1 events (#1525) 2021-04-06 09:57:58 +02:00
user_human_otp_test.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
user_human_otp.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
user_human_password_model.go fix: add v1 events (#1525) 2021-04-06 09:57:58 +02:00
user_human_password_test.go fix: backend bugs (#1449) 2021-03-22 14:40:25 +01:00
user_human_password.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
user_human_phone_model.go fix: add v1 events (#1525) 2021-04-06 09:57:58 +02:00
user_human_phone_test.go fix: some backend bugs (#1438) 2021-03-19 18:46:26 +01:00
user_human_phone.go fix: some backend bugs (#1438) 2021-03-19 18:46:26 +01:00
user_human_profile_model.go fix: add v1 events (#1525) 2021-04-06 09:57:58 +02:00
user_human_profile_test.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
user_human_profile.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
user_human_test.go fix: import user, hide login name suffix (#1474) 2021-03-25 14:41:07 +01:00
user_human_webauthn_model.go fix: pass necessary webauthn data through events (#1544) 2021-04-07 14:19:01 +02:00
user_human_webauthn.go fix: pass necessary webauthn data through events (#1544) 2021-04-07 14:19:01 +02:00
user_human.go fix: import user, hide login name suffix (#1474) 2021-03-25 14:41:07 +01:00
user_machine_key_model.go fix: todos (#1502) 2021-03-31 11:10:06 +02:00
user_machine_key.go feat: protos refactoring 2021-03-09 10:30:11 +01:00
user_machine_model.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
user_machine_test.go feat: new es testing2 (#1428) 2021-03-19 11:12:56 +01:00
user_machine.go fix: todos (#1502) 2021-03-31 11:10:06 +02:00
user_model.go fix: add v1 events (#1525) 2021-04-06 09:57:58 +02:00
user_test.go fix: token fix (#1534) 2021-04-06 16:43:49 +02:00
user.go fix: check org id missing (#1533) 2021-04-06 16:17:56 +02:00