mirror of
https://github.com/owncloud/ocis
synced 2026-04-26 01:35:25 +02:00
feat: [OCISDEV-234] add configurable display attributes
Added new configuration options `UserSearchDisplayedAttributes` which allows to configure the attributes that are displayed in the user search results. Also deprecate the `ShowUserEmailInResults` configuration option.
This commit is contained in:
@@ -272,12 +272,17 @@ Feature: edit/search user including email
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"attributes",
|
||||
"displayName",
|
||||
"id",
|
||||
"mail",
|
||||
"userType"
|
||||
],
|
||||
"properties": {
|
||||
"attributes": {
|
||||
"type": "array",
|
||||
"maxItems": 1,
|
||||
"minItems": 1
|
||||
},
|
||||
"displayName": {
|
||||
"const": "Alice Hansen"
|
||||
},
|
||||
@@ -285,9 +290,6 @@ Feature: edit/search user including email
|
||||
"type": "string",
|
||||
"pattern": "^%user_id_pattern%$"
|
||||
},
|
||||
"mail": {
|
||||
"const": "alice@example.org"
|
||||
},
|
||||
"userType": {
|
||||
"const": "Member"
|
||||
}
|
||||
@@ -320,12 +322,17 @@ Feature: edit/search user including email
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"attributes",
|
||||
"displayName",
|
||||
"id",
|
||||
"mail",
|
||||
"userType"
|
||||
],
|
||||
"properties": {
|
||||
"attributes": {
|
||||
"type": "array",
|
||||
"maxItems": 1,
|
||||
"minItems": 1
|
||||
},
|
||||
"displayName": {
|
||||
"const": "Alice Hansen"
|
||||
},
|
||||
@@ -364,12 +371,17 @@ Feature: edit/search user including email
|
||||
"items": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"attributes",
|
||||
"displayName",
|
||||
"id",
|
||||
"mail",
|
||||
"userType"
|
||||
],
|
||||
"properties": {
|
||||
"attributes": {
|
||||
"type": "array",
|
||||
"maxItems": 1,
|
||||
"minItems": 1
|
||||
},
|
||||
"displayName": {
|
||||
"const": "Alice Hansen"
|
||||
},
|
||||
@@ -415,12 +427,17 @@ Feature: edit/search user including email
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"attributes",
|
||||
"displayName",
|
||||
"id",
|
||||
"mail",
|
||||
"userType"
|
||||
],
|
||||
"properties": {
|
||||
"attributes": {
|
||||
"type": "array",
|
||||
"maxItems": 1,
|
||||
"minItems": 1
|
||||
},
|
||||
"displayName": {
|
||||
"const": "Alice Hansen"
|
||||
},
|
||||
@@ -439,12 +456,17 @@ Feature: edit/search user including email
|
||||
{
|
||||
"type": "object",
|
||||
"required": [
|
||||
"attributes",
|
||||
"displayName",
|
||||
"id",
|
||||
"mail",
|
||||
"userType"
|
||||
],
|
||||
"properties": {
|
||||
"attributes": {
|
||||
"type": "array",
|
||||
"maxItems": 1,
|
||||
"minItems": 1
|
||||
},
|
||||
"displayName": {
|
||||
"const": "Alice Murphy"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user