mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 00:27:31 +00:00
fix: project grants (#4031)
* fix: filter granted memberships correctly * fix: only show changes of granted project * Apply suggestions from code review Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com> * Update internal/query/user_membership.go Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com> Co-authored-by: Fabi <38692350+hifabienne@users.noreply.github.com>
This commit is contained in:
@@ -1417,6 +1417,19 @@ Removes an app key
|
||||
DELETE: /projects/{project_id}/apps/{app_id}/keys/{key_id}
|
||||
|
||||
|
||||
### ListProjectGrantChanges
|
||||
|
||||
> **rpc** ListProjectGrantChanges([ListProjectGrantChangesRequest](#listprojectgrantchangesrequest))
|
||||
[ListProjectGrantChangesResponse](#listprojectgrantchangesresponse)
|
||||
|
||||
Returns the history of the project grant (each event)
|
||||
Limit should always be set, there is a default limit set by the service
|
||||
|
||||
|
||||
|
||||
POST: /projects/{project_id}/grants/{grant_id}/changes/_search
|
||||
|
||||
|
||||
### GetProjectGrantByID
|
||||
|
||||
> **rpc** GetProjectGrantByID([GetProjectGrantByIDRequest](#getprojectgrantbyidrequest))
|
||||
@@ -5743,6 +5756,30 @@ This is an empty request
|
||||
|
||||
|
||||
|
||||
### ListProjectGrantChangesRequest
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| query | zitadel.change.v1.ChangeQuery | list limitations and ordering | |
|
||||
| project_id | string | - | string.min_len: 1<br /> string.max_len: 200<br /> |
|
||||
| grant_id | string | - | string.min_len: 1<br /> string.max_len: 200<br /> |
|
||||
|
||||
|
||||
|
||||
|
||||
### ListProjectGrantChangesResponse
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| result | repeated zitadel.change.v1.Change | zitadel.v1.ListDetails details = 1; was always returned empty (as we cannot get the necessary infos) | |
|
||||
|
||||
|
||||
|
||||
|
||||
### ListProjectGrantMemberRolesRequest
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user