-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Cannot create Parse Role after "fix: return correct response when revert is used in beforeSave #7839" #8317
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
Comments
Thanks for opening this issue!
|
From my understanding, with PR 7839, the |
I don't know the impacts but since |
🎉 This change has been released in version 6.0.0-alpha.10 |
Thanks ! Is it possible to fix this issue in 5.3.4 please ? |
See my answer here |
🎉 This change has been released in version 6.0.0-beta.1 |
🎉 This change has been released in version 6.0.0 |
New Issue Checklist
Issue Description
The PR #7839 introduce a regression. We cannot create a Parse.Role anymore if we have a beforeSave on Parse.Role.
We get an error: TypeError: Tried to create an ACL with an invalid permission type.
Steps to reproduce
Add this test in spec/CloudCode.spec.js:
Actual Outcome
Expected Outcome
The created role with the right name and ACL.
Environment
Server
5.3.3
MacOS
local
Database
MongoDB
5.2.1
local
Client
JavaScript
3.4.2
Logs
The text was updated successfully, but these errors were encountered: