Files
zitadel/docs/docs/apis/proto/project.md
T
74688394d8 feat: set private labeling setting on project (#2184)
* docs: add scope to request private labeling

* feat: add enum to project

* fix: remove unused code, add private labeling setting to query side

* fix: set private labeling depending on setting

* fix: private labeling depending on project setting

* Update proto/zitadel/management.proto

Co-authored-by: Livio Amstutz <[email protected]>

* fix: rename sql file

* fix: private labeling setting

Co-authored-by: Livio Amstutz <[email protected]>
2021-08-24 08:34:10 +02:00

4.4 KiB

title
title
zitadel/project.proto

This document reflects the state from API 1.0 (available from 20.04.2021)

Messages

GrantProjectNameQuery

Field Type Description Validation
name string - string.max_len: 200
method zitadel.v1.TextQueryMethod - enum.defined_only: true

GrantRoleKeyQuery

Field Type Description Validation
role_key string - string.max_len: 200
method zitadel.v1.TextQueryMethod - enum.defined_only: true

GrantedProject

Field Type Description Validation
grant_id string -
granted_org_id string -
granted_org_name string -
granted_role_keys repeated string -
state ProjectGrantState -
project_id string -
project_name string -
project_owner_id string -
project_owner_name string -
details zitadel.v1.ObjectDetails -

Project

Field Type Description Validation
id string -
details zitadel.v1.ObjectDetails -
name string -
state ProjectState -
project_role_assertion bool describes if roles of user should be added in token
project_role_check bool ZITADEL checks if the user has at least one on this project
has_project_check bool ZITADEL checks if the org of the user has permission to this project
private_labeling_setting PrivateLabelingSetting Defines from where the private labeling should be triggered

ProjectGrantQuery

Field Type Description Validation
oneof query.project_name_query GrantProjectNameQuery -
oneof query.role_key_query GrantRoleKeyQuery -

ProjectNameQuery

Field Type Description Validation
name string - string.max_len: 200
method zitadel.v1.TextQueryMethod - enum.defined_only: true

ProjectQuery

Field Type Description Validation
oneof query.name_query ProjectNameQuery -

Role

Field Type Description Validation
key string -
details zitadel.v1.ObjectDetails -
display_name string -
group string -

RoleDisplayNameQuery

Field Type Description Validation
display_name string - string.max_len: 200
method zitadel.v1.TextQueryMethod - enum.defined_only: true

RoleKeyQuery

Field Type Description Validation
key string - string.max_len: 200
method zitadel.v1.TextQueryMethod - enum.defined_only: true

RoleQuery

Field Type Description Validation
oneof query.key_query RoleKeyQuery -
oneof query.display_name_query RoleDisplayNameQuery -

Enums

PrivateLabelingSetting

Name Number Description
PRIVATE_LABELING_SETTING_UNSPECIFIED 0 -
PRIVATE_LABELING_SETTING_ENFORCE_PROJECT_RESOURCE_OWNER_POLICY 1 -
PRIVATE_LABELING_SETTING_ALLOW_LOGIN_USER_RESOURCE_OWNER_POLICY 2 -

ProjectGrantState

Name Number Description
PROJECT_GRANT_STATE_UNSPECIFIED 0 -
PROJECT_GRANT_STATE_ACTIVE 1 -
PROJECT_GRANT_STATE_INACTIVE 2 -

ProjectState

Name Number Description
PROJECT_STATE_UNSPECIFIED 0 -
PROJECT_STATE_ACTIVE 1 -
PROJECT_STATE_INACTIVE 2 -