Restrict access scope of master key #8218
Labels
block:major
Needs to be resolved before next major release; remove label afterwards
state:breaking
Breaking change requires major version increment and `BREAKING CHANGE` commit message
type:feature
New feature or improvement of existing feature
New Feature / Enhancement Checklist
Current Limitation
The
masterKey
currently allows to manipulate some Parse Server internal fields. At the same time, themasterKey
is intended to be used for normal operations, such as for Parse Dashboard to connect to Parse Server or special Remote Config parameters. The scope ofmasterKey
is unclear because it's not defined anywhere.Allowing the
masterKey
to modify internal fields, while distributing it for normal operation is a bad combination. It raises the risk associated with a compromisedmasterKey
, because it significantly increases the integrity impact of the vulnerability's CVSS score.Feature / Enhancement Description
Define scopes, implement them and add them to docs. This will be a breaking change.
We can assume that there is a difference in scope between:
Suggested scopes:
* doesn't exist yet as a feature
Example Use Case
masterKey
to a business client to access all data, configure dashboard apps and use Remove Config parameters that are restricted to master key --> this doesn't allow the user to mess up the internals of Parse ServermaintenanceKey
to a DevOp to be able to manipulate internal Parse Server fields --> these internal fields are not supposed to be manipulated for normal operation, they may need to to be manipulated for one-time migration or data correction tasksAlternatives / Workarounds
n/a
3rd Party References
n/a
The text was updated successfully, but these errors were encountered: