Add the addFileNameHash option that allows users to remove the hash f… (#4915)

* Add the addFileNameHash option that allows users to remove the hash from file names

* Change option name to preserveFileName

* Revert changes to package-lock.json
This commit is contained in:
GabrielLomba
2018-07-27 10:04:06 -03:00
committed by Florent Vilmart
parent 0363728b83
commit 6a151ee135
6 changed files with 56 additions and 7 deletions

View File

@@ -135,6 +135,12 @@ module.exports.ParseServerOptions = {
"env": "PARSE_SERVER_FILE_KEY",
"help": "Key for your files"
},
"preserveFileName": {
"env": "PARSE_SERVER_PRESERVE_FILE_NAME",
"help": "Enable (or disable) the addition of a unique hash to the file names",
"action": parsers.booleanParser,
"default": false
},
"userSensitiveFields": {
"env": "PARSE_SERVER_USER_SENSITIVE_FIELDS",
"help": "Personally identifiable information fields in the user table the should be removed for non-authorized users.",