zitadel/internal/api/grpc/auth
Stefan Benz 2847806531
fix: generalise permission check for query user information (#8458)
# Which Problems Are Solved

IDPLinks list and other list endpoints can provide you with empty
results if the used user has no permission for the information.

# How the Problems Are Solved

List endpoints with subelements to users, and provided userIDQuery, will
return a PermissionDenied error if no permission for the user exsists.

# Additional Changes

Function to check for permission is re-used from the GetUserByID.

# Additional Context

Closes #8451
2024-08-23 06:44:18 +00:00
..
avatar.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
email_converter.go fix: make user creation errors helpful (#5382) 2023-03-14 19:20:38 +00:00
email.go fix: allow login with user created through v2 api without password (#8291) 2024-07-17 06:43:07 +02:00
idp_converter.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
idp.go fix: generalise permission check for query user information (#8458) 2024-08-23 06:44:18 +00:00
information.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
language.go refactor(fmt): run gci on complete project (#7557) 2024-04-03 10:43:43 +00:00
metadata_converter.go fix(api): correct mapping of metadata queries (#7609) 2024-03-21 14:56:58 +00:00
multi_factor.go fix: generalise permission check for query user information (#8458) 2024-08-23 06:44:18 +00:00
password_complexity.go feat: remove org (#4148) 2022-11-30 17:01:17 +01:00
password.go fix: check password complexity policy and respect changeRequired on password change (#7884) 2024-05-02 11:50:13 +02:00
passwordless.go fix: generalise permission check for query user information (#8458) 2024-08-23 06:44:18 +00:00
permission_converter.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
permission.go perf: user grant owner removed (#6962) 2024-01-08 15:26:30 +00:00
phone_converter.go fix: make user creation errors helpful (#5382) 2023-03-14 19:20:38 +00:00
phone.go perf(oidc): optimize the introspection endpoint (#6909) 2023-11-21 13:11:38 +01:00
policy.go feat(auth api): expose login policy of authenticated user (#4979) 2023-01-05 13:04:38 +00:00
profile_converter.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
profile.go perf(oidc): optimize the introspection endpoint (#6909) 2023-11-21 13:11:38 +01:00
refresh_token.go fix(current_sequence): no error if not found (#3740) 2022-05-31 11:50:51 +00:00
server.go feat: trusted (instance) domains (#8369) 2024-07-31 18:00:38 +03:00
user_grant.go chore(console): remove first and lastName fallback from user (#5629) 2023-04-11 15:56:51 +00:00
user.go feat: org v2 ListOrganizations (#8411) 2024-08-15 06:37:06 +02:00