zitadel/internal/query/projection
Silvan 2265fffd8e
feat(queries): user membership (#2768)
* refactor(domain): add user type

* fix(projections): start with login names

* fix(login_policy): correct handling of user domain claimed event

* fix(projections): add members

* refactor: simplify member projections

* add migration for members

* add metadata to member projections

* refactor: login name projection

* fix: set correct suffixes on login name projections

* test(projections): login name reduces

* fix: correct cols in reduce member

* test(projections): org, iam, project members

* member additional cols and conds as opt,
add project grant members

* fix(migration): members

* fix(migration): correct database name

* migration version

* migs

* better naming for member cond and col

* split project and project grant members

* prepare member columns

* feat(queries): membership query

* test(queries): membership prepare

* fix(queries): multiple projections for latest sequence

* fix(api): use query for membership queries in auth and management

* fix(query): member queries and user avatar column

* member cols

* fix(queries): membership stmt

* fix user test

* fix user test
2021-12-14 08:19:02 +01:00
..
flow feat: actions (#2377) 2021-09-27 13:43:49 +02:00
org/owner feat(queries): use org projection (#2342) 2021-09-29 13:20:57 +02:00
action_test.go chore: enable testExecuter to test multi statement (#2448) 2021-09-30 09:26:29 +00:00
action.go feat(queries): use org projection (#2342) 2021-09-29 13:20:57 +02:00
app_test.go fix(projections): delete app on remove project event (#2772) 2021-12-02 15:07:45 +01:00
app.go fix: audience and empty app name (#2775) 2021-12-03 14:24:29 +01:00
authn_key_test.go fix: add authnkeys projection (#2801) 2021-12-08 16:16:48 +01:00
authn_key.go fix: add authnkeys projection (#2801) 2021-12-08 16:16:48 +01:00
config.go feat(queries): use org projection (#2342) 2021-09-29 13:20:57 +02:00
custom_text_test.go feat: Message projection (#2591) 2021-10-29 16:11:47 +02:00
custom_text.go feat: Message projection (#2591) 2021-10-29 16:11:47 +02:00
event_test.go fix(projections): user idp link projection (#2583) 2021-11-02 10:08:47 +01:00
executer_test.go fix: add authnkeys projection (#2801) 2021-12-08 16:16:48 +01:00
feature_test.go fix(projection): handle old event in feature (#2773) 2021-12-02 19:16:20 +01:00
feature.go fix(projection): handle old event in feature (#2773) 2021-12-02 19:16:20 +01:00
flow_test.go chore: enable testExecuter to test multi statement (#2448) 2021-09-30 09:26:29 +00:00
flow.go feat(queries): use org projection (#2342) 2021-09-29 13:20:57 +02:00
iam_member_test.go fix: member projections (#2771) 2021-12-02 15:08:33 +01:00
iam_member.go fix(projections): add member (#2699) 2021-12-02 09:31:44 +01:00
idp_login_policy_link_test.go fix(projection): add idp login policy link (#2590) 2021-11-02 10:00:48 +00:00
idp_login_policy_link.go fix(projection): add idp login policy link (#2590) 2021-11-02 10:00:48 +00:00
idp_test.go feat(queries): user IDP links (#2751) 2021-12-07 08:33:52 +01:00
idp_user_link_test.go fix(projections): user idp link projection (#2583) 2021-11-02 10:08:47 +01:00
idp_user_link.go feat(queries): user IDP links (#2751) 2021-12-07 08:33:52 +01:00
idp.go feat(queries): user IDP links (#2751) 2021-12-07 08:33:52 +01:00
key_test.go fix: add keys to projections (#2728) 2021-12-06 16:57:35 +01:00
key.go fix: add keys to projections (#2728) 2021-12-06 16:57:35 +01:00
label_policy_test.go fix(queries): Label policy projection (#2479) 2021-11-24 16:02:00 +01:00
label_policy.go fix(queries): Label policy projection (#2479) 2021-11-24 16:02:00 +01:00
lockout_policy_test.go fix(queries): lockout policy (#2419) 2021-10-20 14:28:24 +00:00
lockout_policy.go fix(queries): lockout policy (#2419) 2021-10-20 14:28:24 +00:00
login_name_test.go fix(projections): login names projection (#2698) 2021-11-23 10:31:23 +01:00
login_name.go fix(projections): login names projection (#2698) 2021-11-23 10:31:23 +01:00
login_policy_test.go fix(queries): login policy projection (#2401) 2021-10-19 08:10:37 +00:00
login_policy.go fix(queries): login policy projection (#2401) 2021-10-19 08:10:37 +00:00
mail_template_test.go feat: Message projection (#2591) 2021-10-29 16:11:47 +02:00
mail_template.go feat: Message projection (#2591) 2021-10-29 16:11:47 +02:00
member.go fix: member projections (#2771) 2021-12-02 15:08:33 +01:00
message_text_test.go feat: Message projection (#2591) 2021-10-29 16:11:47 +02:00
message_texts.go feat: Message projection (#2591) 2021-10-29 16:11:47 +02:00
org_domain_test.go fix(projection): add org domain (#2383) 2021-10-08 10:24:22 +02:00
org_domain.go fix(projection): add org domain (#2383) 2021-10-08 10:24:22 +02:00
org_iam_policy_test.go fix(queries): org iam policy (#2432) 2021-10-21 08:01:08 +00:00
org_iam_policy.go fix(queries): org iam policy (#2432) 2021-10-21 08:01:08 +00:00
org_member_test.go fix: member projections (#2771) 2021-12-02 15:08:33 +01:00
org_member.go fix(projections): add member (#2699) 2021-12-02 09:31:44 +01:00
org_test.go chore: enable testExecuter to test multi statement (#2448) 2021-09-30 09:26:29 +00:00
org.go fix(queries): password age policy (#2418) 2021-10-20 13:02:58 +00:00
password_age_policy_test.go fix(queries): password age policy (#2418) 2021-10-20 13:02:58 +00:00
password_age_policy.go fix(queries): password age policy (#2418) 2021-10-20 13:02:58 +00:00
password_complexity_policy_test.go fix(query): pw complexity policy (#2417) 2021-10-20 13:44:02 +02:00
password_complexity_policy.go fix(queries): password age policy (#2418) 2021-10-20 13:02:58 +00:00
privacy_policy_test.go fix(queries): privacy policy (#2431) 2021-10-20 15:12:34 +00:00
privacy_policy.go fix(queries): privacy policy (#2431) 2021-10-20 15:12:34 +00:00
project_grant_member_test.go fix: member projections (#2771) 2021-12-02 15:08:33 +01:00
project_grant_member.go fix(projections): add member (#2699) 2021-12-02 09:31:44 +01:00
project_grant_test.go fix: Project grant fix (#2529) 2021-10-19 10:38:21 +02:00
project_grant.go fix(queries): password age policy (#2418) 2021-10-20 13:02:58 +00:00
project_member_test.go fix: member projections (#2771) 2021-12-02 15:08:33 +01:00
project_member.go fix(projections): add member (#2699) 2021-12-02 09:31:44 +01:00
project_role_test.go fix: Project grant fix (#2529) 2021-10-19 10:38:21 +02:00
project_role.go fix(queries): password age policy (#2418) 2021-10-20 13:02:58 +00:00
project_test.go feat: Project projection (#2433) 2021-10-05 14:47:24 +02:00
project.go fix(queries): password age policy (#2418) 2021-10-20 13:02:58 +00:00
projection.go fix: add authnkeys projection (#2801) 2021-12-08 16:16:48 +01:00
user_test.go fix(projections): add base users (#2733) 2021-11-30 08:57:51 +01:00
user.go feat(queries): user membership (#2768) 2021-12-14 08:19:02 +01:00