-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Error "Tried to create an ACL with an invalid permission type." #8473
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!
|
This might be related to #8386. It would help if you could provide some of the code used to trigger this error (such as Cloud triggers as well), or open a PR with a failing test 😊 |
@dblythy I have created a PR with a failing test case. |
@yog27ray Thanks for confirming that this issue only occurs in 5.x and not in 6.x. Fixing this is up to the community as we only fix security vulnerabilities in LTS versions. If this is not picked up by the community we recommend to upgrade to 6.x. |
🎉 This change has been released in version 5.4.3 |
New Issue Checklist
Issue Description
I am updating the parse server from "5.2.8" to "5.4.2", and getting the below error
Whenever I got the above error the arg1 parameter in the ParseACL.js constructor is called with the below value.
I noticed when starting from the fresh empty database. I need to start the server multiple times to start the server as before starting the server it creates some roles. Every attempt create a few more entries in the Role table, Once all roles are created Server starts.
I also tried resetting acl in before save of Role
request.object.setACL(new Parse.ACL());
but still end up with same error.Server
5.4.2
Docker
Database
MongoDB
4.2.3
Local
Client
JavaScript
3.4.2
The text was updated successfully, but these errors were encountered: