zitadel/internal/repository/org
Tim Möhlmann ccef67cefa
fix(eventstore): cleanup org fields on remove (#8946)
# Which Problems Are Solved

When an org is removed, the corresponding fields are not deleted. This
creates issues, such as recreating a new org with the same verified
domain.

# How the Problems Are Solved

Remove the search fields by the org aggregate, instead of just setting
the removed state.

# Additional Changes

- Cleanup migration script that removed current stale fields.

# Additional Context

- Closes https://github.com/zitadel/zitadel/issues/8943
- Related to https://github.com/zitadel/zitadel/pull/8790

---------

Co-authored-by: Silvan <silvan.reusser@gmail.com>
2024-11-26 15:26:41 +00:00
..
aggregate.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
custom_text.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
domain.go perf(import): optimize search for domains claimed by other organizations (#8200) 2024-07-05 09:36:00 +02:00
eventstore.go fix(setup): init projections (#7194) 2024-01-25 17:28:20 +01:00
flow.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
idp_config.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
idp_jwt_config.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
idp_oidc_config.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
idp.go feat(saml): allow setting nameid-format and alternative mapping for transient format (#7979) 2024-05-23 05:04:07 +00:00
member.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
metadata.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
org.go fix(eventstore): cleanup org fields on remove (#8946) 2024-11-26 15:26:41 +00:00
policy_domain.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
policy_label.go feat: add attribute to only enable specific themes (#6798) 2023-10-26 05:54:09 +00:00
policy_login_factors.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
policy_login_identity_provider.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
policy_login.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
policy_mail_template.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
policy_mail_text.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
policy_notification.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
policy_password_age.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
policy_password_complexity.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
policy_password_lockout.go feat: provide option to limit (T)OTP checks (#7693) 2024-04-10 09:14:55 +00:00
policy_privacy.go feat(cnsl): docs link can be customized and custom button is available (#7840) 2024-05-13 16:01:50 +02:00