zitadel/internal/command
Fabi 2bd255106a
fix: new es testing (#1411)
* fix: org tests

* fix: org tests

* fix: user grant test

* fix: user grant test

* fix: project and project role test

* fix: project grant test

* fix: project grant test

* fix: project member, grant member, app changed tests

* fix: application tests

* fix: application tests

* fix: add oidc app test

* fix: add oidc app test

* fix: add api keys test

* fix: iam policies

* fix: iam and org member tests

* fix: clock skew validation

* revert crypto changes

* fix: tests

* fix project grant member commands

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2021-03-15 12:51:15 +01:00
..
auth_checks.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
command.go fix: todos (#1346) 2021-03-01 08:48:50 +01:00
converter.go feat: protos refactoring 2021-03-09 10:30:11 +01:00
iam_converter.go fix: todos (#1346) 2021-03-01 08:48:50 +01:00
iam_idp_config_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_idp_config.go feat: protos refactoring 2021-03-09 10:30:11 +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.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
iam_member_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_member_test.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
iam_member.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
iam_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_label_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_label_test.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
iam_policy_label.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
iam_policy_login_factors_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +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 fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
iam_policy_login.go fix: new es testing (#1411) 2021-03-15 12:51:15 +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 fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +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 fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +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 fix: new es testing (#1411) 2021-03-15 12:51:15 +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.go feat: protos refactoring 2021-03-09 10:30:11 +01:00
org_idp_config_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_idp_config.go fix: todos (#1346) 2021-03-01 08:48:50 +01:00
org_idp_oidc_config_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_idp_oidc_config.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
org_member_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_member_test.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
org_member.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
org_model.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
org_policy_label_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_label.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
org_policy_login_factors_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_login_identity_provider_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_login_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_login.go feat: protos refactoring 2021-03-09 10:30:11 +01:00
org_policy_mail_template_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_mail_template.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +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.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +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.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +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.go feat: protos refactoring 2021-03-09 10:30:11 +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.go feat: protos refactoring 2021-03-09 10:30:11 +01:00
org_policy_password_lockout_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_password_lockout.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
org_test.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
org.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
policy_label_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
policy_login_factors_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +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: new es testing (#1411) 2021-03-15 12:51:15 +01:00
project_application_api.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
project_application_key_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +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: new es testing (#1411) 2021-03-15 12:51:15 +01:00
project_application_oidc.go fix: new es testing (#1411) 2021-03-15 12:51:15 +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: new es testing (#1411) 2021-03-15 12:51:15 +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 feat: protos refactoring 2021-03-09 10:30:11 +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 fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
setup_step8.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
setup_step9.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +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.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
unique_constraints_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
user_converter.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
user_grant_converter.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
user_grant_model.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
user_grant_test.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
user_grant.go fix: new es testing (#1411) 2021-03-15 12:51:15 +01:00
user_human_address_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
user_human_address.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
user_human_email_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
user_human_email.go feat: protos refactoring 2021-03-09 10:30:11 +01:00
user_human_externalidp_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
user_human_externalidp.go feat: protos refactoring 2021-03-09 10:30:11 +01:00
user_human_init_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
user_human_init.go feat: protos refactoring 2021-03-09 10:30:11 +01:00
user_human_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
user_human_otp_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
user_human_otp.go feat: protos refactoring 2021-03-09 10:30:11 +01:00
user_human_password_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
user_human_password.go feat: protos refactoring 2021-03-09 10:30:11 +01:00
user_human_phone_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
user_human_phone.go feat: protos refactoring 2021-03-09 10:30:11 +01:00
user_human_profile_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
user_human_profile.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
user_human_webauthn_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
user_human_webauthn.go feat: protos refactoring 2021-03-09 10:30:11 +01:00
user_human.go fix: update config to commands (and queries) (#1342) 2021-02-24 11:17:39 +01:00
user_machine_key_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
user_machine_key.go feat: protos refactoring 2021-03-09 10:30:11 +01:00
user_machine_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
user_machine.go fix: todos (#1346) 2021-03-01 08:48:50 +01:00
user_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
user.go feat: protos refactoring 2021-03-09 10:30:11 +01:00