zitadel/internal/auth/repository
Silvan b8bec25129
fix: use query side for requests (#2818)
* 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

* refactor: remove unsued methods in repo-interfaces

* start

* fix(query): membership

* fix(auth): list my project orgs

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

* refactor(auth): MyProjectOrgs

* fix(queries): member and membership stmts

* fix user test

* fix(management): use query for project (-grant) members

* fix(admin): use query for member calls

* fix(api): add domain to org mapping

* remove old idp

* membership

* refactor: remove old files

* idp

* refactor: use query for idps and idp user links

* refactor(eventstore): rename EventPusher to Command, EventReader to Event, PushEvents to Push and FilterEvents to Filter

* gloabl org check for org roles

Co-authored-by: Livio Amstutz <livio.a@gmail.com>
2022-01-13 08:58:14 +01:00
..
eventsourcing fix: use query side for requests (#2818) 2022-01-13 08:58:14 +01:00
application.go fix(app): move queries to query package (#2612) 2021-11-26 07:57:05 +01:00
auth_request.go fix(projections): user idp link projection (#2583) 2021-11-02 10:08:47 +01:00
iam.go feat: Custom message files (#1992) 2021-07-13 07:13:39 +02:00
org.go fix(queries): Label policy projection (#2479) 2021-11-24 16:02:00 +01:00
refresh_token.go feat: refresh token (#1728) 2021-05-20 11:33:35 +00:00
repository.go fix(query): keys (#2755) 2022-01-12 13:22:04 +01:00
token.go feat: User login commands (#1228) 2021-02-08 11:30:30 +01:00
user_grant.go fix: return authorizations on userinfo (#420) 2020-07-09 14:05:12 +02:00
user_session.go feat: metrics (#1024) 2020-12-02 08:50:59 +01:00
user.go fix: use query side for requests (#2818) 2022-01-13 08:58:14 +01:00