From ab6284fa33bba0659d599afd5d6484e971b6cb05 Mon Sep 17 00:00:00 2001 From: Ralf Haferkamp Date: Wed, 21 Dec 2022 14:40:21 +0000 Subject: [PATCH] commit b42bf80d0ef0f9559144575c12f4a37544a07d51 Author: Ralf Haferkamp Date: Wed Dec 21 14:57:06 2022 +0100 graph: Rename noop backend to ErrEducationBackend --- services/_includes/adoc/graph_configvars.adoc | 80 +++++++++++++++++++ services/_includes/graph-config-example.yaml | 9 +++ services/_includes/graph_configvars.md | 8 ++ 3 files changed, 97 insertions(+) diff --git a/services/_includes/adoc/graph_configvars.adoc b/services/_includes/adoc/graph_configvars.adoc index e5bf2c980e0..77608390c53 100644 --- a/services/_includes/adoc/graph_configvars.adoc +++ b/services/_includes/adoc/graph_configvars.adoc @@ -543,6 +543,86 @@ a| [subs=-attributes] a| [subs=-attributes] LDAP Attribute to use as the unique id for groups. This should be a stable globally unique ID like a UUID. +a|`LDAP_EDUCATION_RESOURCES_ENABLED` + +`GRAPH_LDAP_EDUCATION_RESOURCES_ENABLED` + + +a| [subs=-attributes] +++bool ++ +a| [subs=-attributes] +++false ++ +a| [subs=-attributes] +Enable LDAP support for managing education related resources + +a|`LDAP_SCHOOL_BASE_DN` + +`GRAPH_LDAP_SCHOOL_BASE_DN` + + +a| [subs=-attributes] +++string ++ +a| [subs=-attributes] +++ ++ +a| [subs=-attributes] +Search base DN for looking up LDAP schools. + +a|`LDAP_SCHOOL_SCOPE` + +`GRAPH_LDAP_SCHOOL_SEARCH_SCOPE` + + +a| [subs=-attributes] +++string ++ +a| [subs=-attributes] +++ ++ +a| [subs=-attributes] +LDAP search scope to use when looking up schools. Supported scopes are 'base', 'one' and 'sub'. + +a|`LDAP_SCHOOL_FILTER` + +`GRAPH_LDAP_SCHOOL_FILTER` + + +a| [subs=-attributes] +++string ++ +a| [subs=-attributes] +++ ++ +a| [subs=-attributes] +LDAP filter to add to the default filters for school searches. + +a|`LDAP_SCHOOL_OBJECTCLASS` + +`GRAPH_LDAP_SCHOOL_OBJECTCLASS` + + +a| [subs=-attributes] +++string ++ +a| [subs=-attributes] +++ ++ +a| [subs=-attributes] +The object class to use for schools in the default school search filter. + +a|`LDAP_SCHOOL_SCHEMA_SCHOOL_NAME` + +`GRAPH_LDAP_SCHOOL_NAME_ATTRIBUTE` + + +a| [subs=-attributes] +++string ++ +a| [subs=-attributes] +++ ++ +a| [subs=-attributes] +LDAP Attribute to use for the name of a school. + +a|`LDAP_SCHOOL_SCHEMA_SCHOOL_NUMBER` + +`GRAPH_LDAP_SCHOOL_NUMBER_ATTRIBUTE` + + +a| [subs=-attributes] +++string ++ +a| [subs=-attributes] +++ ++ +a| [subs=-attributes] +LDAP Attribute to use for the number of a school. + +a|`LDAP_SCHOOL_SCHEMA_ID` + +`GRAPH_LDAP_SCHOOL_ID_ATTRIBUTE` + + +a| [subs=-attributes] +++string ++ +a| [subs=-attributes] +++ ++ +a| [subs=-attributes] +LDAP Attribute to use as the unique id for schools. This should be a stable globally unique ID like a UUID. + a|`GRAPH_EVENTS_ENDPOINT` + a| [subs=-attributes] diff --git a/services/_includes/graph-config-example.yaml b/services/_includes/graph-config-example.yaml index 93635554f95..7b26da3d3b1 100644 --- a/services/_includes/graph-config-example.yaml +++ b/services/_includes/graph-config-example.yaml @@ -68,6 +68,15 @@ identity: group_objectclass: groupOfNames group_name_attribute: cn group_id_attribute: owncloudUUID + education_resources_enabled: false + educationconfig: + school_base_dn: "" + school_search_scope: "" + school_filter: "" + school_objectclass: "" + school_name_attribute: "" + school_number_attribute: "" + school_id_attribute: "" events: endpoint: 127.0.0.1:9233 cluster: ocis-cluster diff --git a/services/_includes/graph_configvars.md b/services/_includes/graph_configvars.md index edf0b9caa51..436ddbc8a68 100644 --- a/services/_includes/graph_configvars.md +++ b/services/_includes/graph_configvars.md @@ -56,6 +56,14 @@ | LDAP_GROUP_OBJECTCLASS
GRAPH_LDAP_GROUP_OBJECTCLASS | string | groupOfNames | The object class to use for groups in the default group search filter ('groupOfNames'). | | LDAP_GROUP_SCHEMA_GROUPNAME
GRAPH_LDAP_GROUP_NAME_ATTRIBUTE | string | cn | LDAP Attribute to use for the name of groups.| | LDAP_GROUP_SCHEMA_ID
GRAPH_LDAP_GROUP_ID_ATTRIBUTE | string | owncloudUUID | LDAP Attribute to use as the unique id for groups. This should be a stable globally unique ID like a UUID.| +| LDAP_EDUCATION_RESOURCES_ENABLED
GRAPH_LDAP_EDUCATION_RESOURCES_ENABLED | bool | false | Enable LDAP support for managing education related resources| +| LDAP_SCHOOL_BASE_DN
GRAPH_LDAP_SCHOOL_BASE_DN | string | | Search base DN for looking up LDAP schools.| +| LDAP_SCHOOL_SCOPE
GRAPH_LDAP_SCHOOL_SEARCH_SCOPE | string | | LDAP search scope to use when looking up schools. Supported scopes are 'base', 'one' and 'sub'.| +| LDAP_SCHOOL_FILTER
GRAPH_LDAP_SCHOOL_FILTER | string | | LDAP filter to add to the default filters for school searches.| +| LDAP_SCHOOL_OBJECTCLASS
GRAPH_LDAP_SCHOOL_OBJECTCLASS | string | | The object class to use for schools in the default school search filter.| +| LDAP_SCHOOL_SCHEMA_SCHOOL_NAME
GRAPH_LDAP_SCHOOL_NAME_ATTRIBUTE | string | | LDAP Attribute to use for the name of a school.| +| LDAP_SCHOOL_SCHEMA_SCHOOL_NUMBER
GRAPH_LDAP_SCHOOL_NUMBER_ATTRIBUTE | string | | LDAP Attribute to use for the number of a school.| +| LDAP_SCHOOL_SCHEMA_ID
GRAPH_LDAP_SCHOOL_ID_ATTRIBUTE | string | | LDAP Attribute to use as the unique id for schools. This should be a stable globally unique ID like a UUID.| | GRAPH_EVENTS_ENDPOINT | string | 127.0.0.1:9233 | The address of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture. Set to a empty string to disable emitting events.| | GRAPH_EVENTS_CLUSTER | string | ocis-cluster | The clusterID of the event system. The event system is the message queuing service. It is used as message broker for the microservice architecture.| | OCIS_INSECURE
GRAPH_EVENTS_TLS_INSECURE | bool | false | Whether to verify the server TLS certificates.|