mirror of
https://github.com/immich-app/immich.git
synced 2025-12-23 09:15:05 +03:00
feat(server): Add publicUsers toggle for user search (#14330)
* feat(server): Add publicUsers toggle for user search * tests * docs: add check:typescript for web PR checklist * return auth.user when publicUsers is false - app testing --------- Co-authored-by: Alex <alex.tran1502@gmail.com>
This commit is contained in:
@@ -10825,6 +10825,9 @@
|
||||
"oauthButtonText": {
|
||||
"type": "string"
|
||||
},
|
||||
"publicUsers": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"trashDays": {
|
||||
"type": "integer"
|
||||
},
|
||||
@@ -10840,6 +10843,7 @@
|
||||
"mapDarkStyleUrl",
|
||||
"mapLightStyleUrl",
|
||||
"oauthButtonText",
|
||||
"publicUsers",
|
||||
"trashDays",
|
||||
"userDeleteDelay"
|
||||
],
|
||||
@@ -12014,11 +12018,15 @@
|
||||
},
|
||||
"loginPageMessage": {
|
||||
"type": "string"
|
||||
},
|
||||
"publicUsers": {
|
||||
"type": "boolean"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"externalDomain",
|
||||
"loginPageMessage"
|
||||
"loginPageMessage",
|
||||
"publicUsers"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
|
||||
@@ -928,6 +928,7 @@ export type ServerConfigDto = {
|
||||
mapDarkStyleUrl: string;
|
||||
mapLightStyleUrl: string;
|
||||
oauthButtonText: string;
|
||||
publicUsers: boolean;
|
||||
trashDays: number;
|
||||
userDeleteDelay: number;
|
||||
};
|
||||
@@ -1222,6 +1223,7 @@ export type SystemConfigReverseGeocodingDto = {
|
||||
export type SystemConfigServerDto = {
|
||||
externalDomain: string;
|
||||
loginPageMessage: string;
|
||||
publicUsers: boolean;
|
||||
};
|
||||
export type SystemConfigStorageTemplateDto = {
|
||||
enabled: boolean;
|
||||
|
||||
Reference in New Issue
Block a user