zitadel/internal/repository/project
Tim Möhlmann ecfb9d0d6d
perf(command): user grant pre-condition check using the search table (#8230)
# Which Problems Are Solved

Imporve the performance of user grant addition, especially for import.

# How the Problems Are Solved

Use the search table to query for the project grant state. 
This could easily be done by making the search used in
`checkProjectGrantPreCondition` reusable.

# Additional Changes

Chanded event declerations to `const` in the
`internal/repository/project` package.

# Additional Context

- Performance improvements for import are evaluated and acted upon
internally at the moment

---------

Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
Co-authored-by: Livio Spring <livio.a@gmail.com>
2024-07-04 16:18:43 +00:00
..
aggregate.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
api_config.go feat(crypto): use passwap for machine and app secrets (#7657) 2024-04-05 09:35:49 +00:00
application.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
eventstore.go feat(crypto): use passwap for machine and app secrets (#7657) 2024-04-05 09:35:49 +00:00
grant_member.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
grant.go feat(eventstore): add search table (#8191) 2024-07-03 15:00:56 +00:00
key.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
member.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
oidc_config.go feat(crypto): use passwap for machine and app secrets (#7657) 2024-04-05 09:35:49 +00:00
project.go feat(eventstore): add search table (#8191) 2024-07-03 15:00:56 +00:00
role.go perf(command): user grant pre-condition check using the search table (#8230) 2024-07-04 16:18:43 +00:00
saml_config.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00