Remove userSensitiveFields default value. (#5588)
This commit is contained in:
committed by
Arthur Cinader
parent
3bb1796e12
commit
5a8a9472e9
@@ -330,7 +330,6 @@ module.exports.ParseServerOptions = {
|
|||||||
help:
|
help:
|
||||||
'Personally identifiable information fields in the user table the should be removed for non-authorized users. Deprecated @see protectedFields',
|
'Personally identifiable information fields in the user table the should be removed for non-authorized users. Deprecated @see protectedFields',
|
||||||
action: parsers.arrayParser,
|
action: parsers.arrayParser,
|
||||||
default: ['email'],
|
|
||||||
},
|
},
|
||||||
verbose: {
|
verbose: {
|
||||||
env: 'VERBOSE',
|
env: 'VERBOSE',
|
||||||
|
|||||||
@@ -82,8 +82,7 @@ export interface ParseServerOptions {
|
|||||||
:ENV: PARSE_SERVER_PRESERVE_FILE_NAME
|
:ENV: PARSE_SERVER_PRESERVE_FILE_NAME
|
||||||
:DEFAULT: false */
|
:DEFAULT: false */
|
||||||
preserveFileName: ?boolean;
|
preserveFileName: ?boolean;
|
||||||
/* Personally identifiable information fields in the user table the should be removed for non-authorized users. Deprecated @see protectedFields
|
/* Personally identifiable information fields in the user table the should be removed for non-authorized users. Deprecated @see protectedFields */
|
||||||
:DEFAULT: ["email"] */
|
|
||||||
userSensitiveFields: ?(string[]);
|
userSensitiveFields: ?(string[]);
|
||||||
/* Protected fields that should be treated with extra security when fetching details.
|
/* Protected fields that should be treated with extra security when fetching details.
|
||||||
:DEFAULT: {"_User": {"*": ["email"]}} */
|
:DEFAULT: {"_User": {"*": ["email"]}} */
|
||||||
|
|||||||
Reference in New Issue
Block a user