mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 20:57:31 +00:00
feat: all project grant search query (#2581)
* feat: all project grant search query * feat: all project grant search query
This commit is contained in:
@@ -1433,7 +1433,7 @@ This is an empty response
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| policy | zitadel.policy.v1.OrgIAMPolicy | - | |
|
||||
| is_default | bool | - | |
|
||||
| is_default | bool | deprecated: is_default is also defined in zitadel.policy.v1.OrgIAMPolicy | |
|
||||
|
||||
|
||||
|
||||
|
@@ -1379,6 +1379,19 @@ Limit should always be set, there is a default limit set by the service
|
||||
POST: /projects/{project_id}/grants/_search
|
||||
|
||||
|
||||
### ListAllProjectGrants
|
||||
|
||||
> **rpc** ListAllProjectGrants([ListAllProjectGrantsRequest](#listallprojectgrantsrequest))
|
||||
[ListAllProjectGrantsResponse](#listallprojectgrantsresponse)
|
||||
|
||||
Returns all project grants matching the query, (ProjectGrant = Grant another organisation for my project)
|
||||
Limit should always be set, there is a default limit set by the service
|
||||
|
||||
|
||||
|
||||
POST: /projectgrants/_search
|
||||
|
||||
|
||||
### AddProjectGrant
|
||||
|
||||
> **rpc** AddProjectGrant([AddProjectGrantRequest](#addprojectgrantrequest))
|
||||
@@ -4545,7 +4558,7 @@ This is an empty request
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| policy | zitadel.policy.v1.LabelPolicy | - | |
|
||||
| is_default | bool | - | |
|
||||
| is_default | bool | deprecated: is_default is also defined in zitadel.policy.v1.LabelPolicy | |
|
||||
|
||||
|
||||
|
||||
@@ -4563,7 +4576,7 @@ This is an empty request
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| policy | zitadel.policy.v1.LockoutPolicy | - | |
|
||||
| is_default | bool | - | |
|
||||
| is_default | bool | deprecated: is_default is also defined in zitadel.policy.v1.LockoutPolicy | |
|
||||
|
||||
|
||||
|
||||
@@ -4581,7 +4594,7 @@ This is an empty request
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| policy | zitadel.policy.v1.LoginPolicy | - | |
|
||||
| is_default | bool | - | |
|
||||
| is_default | bool | deprecated: is_default is also defined in zitadel.policy.v1.LoginPolicy | |
|
||||
|
||||
|
||||
|
||||
@@ -4718,7 +4731,7 @@ This is an empty request
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| policy | zitadel.policy.v1.PasswordAgePolicy | - | |
|
||||
| is_default | bool | - | |
|
||||
| is_default | bool | deprecated: is_default is also defined in zitadel.policy.v1.PasswordAgePolicy | |
|
||||
|
||||
|
||||
|
||||
@@ -4736,7 +4749,7 @@ This is an empty request
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| policy | zitadel.policy.v1.PasswordComplexityPolicy | - | |
|
||||
| is_default | bool | - | |
|
||||
| is_default | bool | deprecated: is_default is also defined in zitadel.policy.v1.PasswordComplexityPolicy | |
|
||||
|
||||
|
||||
|
||||
@@ -4754,7 +4767,7 @@ This is an empty request
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| policy | zitadel.policy.v1.LabelPolicy | - | |
|
||||
| is_default | bool | - | |
|
||||
| is_default | bool | deprecated: is_default is also defined in zitadel.policy.v1.LabelPolicy | |
|
||||
|
||||
|
||||
|
||||
@@ -5084,6 +5097,30 @@ This is an empty response
|
||||
|
||||
|
||||
|
||||
### ListAllProjectGrantsRequest
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| query | zitadel.v1.ListQuery | list limitations and ordering | |
|
||||
| queries | repeated zitadel.project.v1.AllProjectGrantQuery | criterias the client is looking for | |
|
||||
|
||||
|
||||
|
||||
|
||||
### ListAllProjectGrantsResponse
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| details | zitadel.v1.ListDetails | - | |
|
||||
| result | repeated zitadel.project.v1.GrantedProject | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### ListAppChangesRequest
|
||||
|
||||
|
||||
|
@@ -9,6 +9,20 @@ title: zitadel/project.proto
|
||||
## Messages
|
||||
|
||||
|
||||
### AllProjectGrantQuery
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) query.project_name_query | GrantProjectNameQuery | - | |
|
||||
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) query.role_key_query | GrantRoleKeyQuery | - | |
|
||||
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) query.project_id_query | ProjectIDQuery | - | |
|
||||
| [**oneof**](https://developers.google.com/protocol-buffers/docs/proto3#oneof) query.granted_org_id_query | GrantedOrgIDQuery | - | |
|
||||
|
||||
|
||||
|
||||
|
||||
### GrantProjectNameQuery
|
||||
|
||||
|
||||
@@ -33,6 +47,17 @@ title: zitadel/project.proto
|
||||
|
||||
|
||||
|
||||
### GrantedOrgIDQuery
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| granted_org_id | string | - | string.max_len: 200<br /> |
|
||||
|
||||
|
||||
|
||||
|
||||
### GrantedProject
|
||||
|
||||
|
||||
@@ -83,6 +108,17 @@ title: zitadel/project.proto
|
||||
|
||||
|
||||
|
||||
### ProjectIDQuery
|
||||
|
||||
|
||||
|
||||
| Field | Type | Description | Validation |
|
||||
| ----- | ---- | ----------- | ----------- |
|
||||
| project_id | string | - | string.max_len: 200<br /> |
|
||||
|
||||
|
||||
|
||||
|
||||
### ProjectNameQuery
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user