zitadel/internal/query
Silvan d2ea9a1b8c
feat: member queries (#2796)
* 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

* feat: org member queries

* fix(api): use query for iam member calls

* fix(queries): org members

* fix(queries): project members

* fix(queries): project grant members

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

* member cols

* fix(queries): membership stmt

* fix user test

* fix user test

* fix(membership): correct display name

* fix(projection): additional member manipulation events

* additional member tests

* fix(projections): additional events of idp links

* fix: use query for memberships (#2797)

* fix(api): use query for memberships

* remove comment

* handle err

* refactor(projections): idp user link user aggregate type

* fix(projections): handle old user events

* fix(api): add asset prefix

* no image for iam members
2021-12-16 13:25:38 +00:00
..
projection feat: member queries (#2796) 2021-12-16 13:25:38 +00:00
action_flow_test.go fix(queries): actions prepare funcs (#2689) 2021-11-16 14:04:22 +01:00
action_flow.go fix(queries): actions prepare funcs (#2689) 2021-11-16 14:04:22 +01:00
action_test.go fix(queries): actions prepare funcs (#2689) 2021-11-16 14:04:22 +01:00
action.go fix(queries): actions prepare funcs (#2689) 2021-11-16 14:04:22 +01:00
app_test.go fix: audience and empty app name (#2775) 2021-12-03 14:24:29 +01:00
app.go fix: client secret verification (for introspection) (#2825) 2021-12-10 09:25:17 +00:00
authn_key_test.go fix(queries): authn keys (#2820) 2021-12-14 10:57:20 +01:00
authn_key.go fix(queries): authn keys (#2820) 2021-12-14 10:57:20 +01:00
converter.go feat: jwt as idp (#2363) 2021-09-14 15:15:01 +02:00
current_sequence.go feat(queries): user membership (#2768) 2021-12-14 08:19:02 +01:00
features_test.go fix: features query (#2610) 2021-11-21 20:22:25 +01:00
features.go fix: features query (#2610) 2021-11-21 20:22:25 +01:00
iam_idp_config_model.go feat: jwt as idp (#2363) 2021-09-14 15:15:01 +02:00
iam_idp_configs_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_member_model.go fix(eventstore): sub queries (#1805) 2021-07-06 13:55:57 +02:00
iam_member_test.go feat: member queries (#2796) 2021-12-16 13:25:38 +00:00
iam_member.go feat: member queries (#2796) 2021-12-16 13:25:38 +00:00
iam_members_model.go fix: Remove user with cascading memberships (#1811) 2021-06-07 07:20:47 +02:00
iam_model.go feat: Lockout policy (#2121) 2021-08-11 06:36:32 +00:00
iam_policy_label_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_org_iam_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_password_age_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_password_complexity_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
iam_policy_password_lockout_model.go feat: Lockout policy (#2121) 2021-08-11 06:36:32 +00:00
idp_config_model.go feat: jwt as idp (#2363) 2021-09-14 15:15:01 +02:00
idp_configs_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
idp_login_policy_link_test.go feat(queries): login policy idp links (#2767) 2021-12-08 14:49:19 +01:00
idp_login_policy_link.go feat(queries): login policy idp links (#2767) 2021-12-08 14:49:19 +01:00
idp_test.go test(queries): idp prepare funcs (#2650) 2021-11-16 09:03:12 +01:00
idp_user_link_test.go feat(queries): login policy idp links (#2767) 2021-12-08 14:49:19 +01:00
idp_user_link.go feat(queries): login policy idp links (#2767) 2021-12-08 14:49:19 +01:00
idp.go feat(queries): user IDP links (#2751) 2021-12-07 08:33:52 +01:00
jwt_config_model.go feat: jwt as idp (#2363) 2021-09-14 15:15:01 +02:00
label_policy.go fix(queries): Label policy projection (#2479) 2021-11-24 16:02:00 +01:00
lockout_policy_test.go test(queries): policies prepare funcs (#2651) 2021-11-16 08:24:30 +00:00
lockout_policy.go test(queries): policies prepare funcs (#2651) 2021-11-16 08:24:30 +00:00
login_name.go feat: member queries (#2796) 2021-12-16 13:25:38 +00:00
login_policy_test.go test(queries): login policy prepare funcs (#2649) 2021-11-15 16:04:08 +01:00
login_policy.go test(queries): login policy prepare funcs (#2649) 2021-11-15 16:04:08 +01:00
member_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
member.go feat: member queries (#2796) 2021-12-16 13:25:38 +00:00
members_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
oidc_config_model.go feat: Extend oidc idp with oauth endpoints (#1980) 2021-07-06 14:39:48 +00:00
org_domain_test.go test(queries): org domain prepare funcs (#2648) 2021-11-15 14:44:14 +01:00
org_domain.go fix(queries): actions prepare funcs (#2689) 2021-11-16 14:04:22 +01:00
org_iam_policy_test.go test(queries): policies prepare funcs (#2651) 2021-11-16 08:24:30 +00:00
org_iam_policy.go test(queries): policies prepare funcs (#2651) 2021-11-16 08:24:30 +00:00
org_member_model.go fix: Remove user with cascading memberships (#1811) 2021-06-07 07:20:47 +02:00
org_member_test.go feat: member queries (#2796) 2021-12-16 13:25:38 +00:00
org_member.go feat: member queries (#2796) 2021-12-16 13:25:38 +00:00
org_policy_label_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_org_iam_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_password_age_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_password_complexity_model.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
org_policy_password_lockout_model.go feat: Lockout policy (#2121) 2021-08-11 06:36:32 +00:00
org_test.go test(queries): org prepare funcs (#2647) 2021-11-15 12:52:49 +00:00
org.go fix(queries): actions prepare funcs (#2689) 2021-11-16 14:04:22 +01:00
password_age_policy_test.go test(queries): policies prepare funcs (#2651) 2021-11-16 08:24:30 +00:00
password_age_policy.go test(queries): policies prepare funcs (#2651) 2021-11-16 08:24:30 +00:00
password_complexity_policy_test.go test(queries): policies prepare funcs (#2651) 2021-11-16 08:24:30 +00:00
password_complexity_policy.go test(queries): policies prepare funcs (#2651) 2021-11-16 08:24:30 +00:00
policy_label_model.go feat: label policy (#1708) 2021-06-04 14:53:51 +02:00
policy_login_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 feat: Lockout policy (#2121) 2021-08-11 06:36:32 +00:00
prepare_test.go fix(queries): actions prepare funcs (#2689) 2021-11-16 14:04:22 +01:00
privacy_policy_test.go test(queries): policies prepare funcs (#2651) 2021-11-16 08:24:30 +00:00
privacy_policy.go test(queries): policies prepare funcs (#2651) 2021-11-16 08:24:30 +00:00
project_grant_member_test.go feat: member queries (#2796) 2021-12-16 13:25:38 +00:00
project_grant_member.go feat: member queries (#2796) 2021-12-16 13:25:38 +00:00
project_grant_test.go fix(queries): project grant and role prepare funcs (#2659) 2021-11-16 08:44:56 +00:00
project_grant.go fix(queries): actions prepare funcs (#2689) 2021-11-16 14:04:22 +01:00
project_member_test.go feat: member queries (#2796) 2021-12-16 13:25:38 +00:00
project_member.go feat: member queries (#2796) 2021-12-16 13:25:38 +00:00
project_role_test.go fix(queries): project grant and role prepare funcs (#2659) 2021-11-16 08:44:56 +00:00
project_role.go fix(queries): actions prepare funcs (#2689) 2021-11-16 14:04:22 +01:00
project_test.go fix(app): move queries to query package (#2612) 2021-11-26 07:57:05 +01:00
project.go fix(queries): actions prepare funcs (#2689) 2021-11-16 14:04:22 +01:00
query.go fix: add keys to projections (#2728) 2021-12-06 16:57:35 +01:00
search_query_test.go feat(queries): use org projection (#2342) 2021-09-29 13:20:57 +02:00
search_query.go feat(queries): user membership (#2768) 2021-12-14 08:19:02 +01:00
user_membership_test.go feat: member queries (#2796) 2021-12-16 13:25:38 +00:00
user_membership.go feat: member queries (#2796) 2021-12-16 13:25:38 +00:00
user_model.go fix(eventstore): sub queries (#1805) 2021-07-06 13:55:57 +02:00
user.go feat(queries): user membership (#2768) 2021-12-14 08:19:02 +01:00