Skip to content

Add additional default fields to _Installation class #1852

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 21, 2016

Conversation

JeremyPlease
Copy link
Contributor

@JeremyPlease JeremyPlease commented May 20, 2016

The _Installation class was missing default fields for appVersion, appName, appIdentifier, and parseVersion.

When I disabled addField class level permissions for _Installation class, iOS and Android SDKs were getting "Permission denied for this action." when creating installations because they send the above fields.

Also, I updated Schema.spec.js and MongoSchemaCollectionAdapter.spec.js to account for all default _Installtion fields.

Fields are appVersion, appName, appIdentifier, and parseVersion.
These fields are sent by Android and iOS SDKs.
@drew-gross
Copy link
Contributor

Looks good to me. Thanks!

@drew-gross drew-gross merged commit fab8cfd into parse-community:master May 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants