-
Notifications
You must be signed in to change notification settings - Fork 67
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
forceUpdate-flag breaks authorization with insecure Classes. #648
Comments
Yep reproduction would be handful :) |
Actually, I think these two are linked: #649 In my case where
I could fix the issue in three ways:
|
Still working on the reproduction, but I'm missing something... |
So, using |
Please provide reproduction so I can easily work on a fix |
I will, sorry it's taking a while, I'm in a tight spot currently with work. |
When my class is not secured and I try to update a document from the client using
{ forceUpdate: true }
, my Astronomy event-based authorization system fails (not allowing the operation when it actually should allow).If I remove the
forceUpdate
-flag from thesave
-call, everything works as before.Another way to "fix" it is to also apply
simulation: false
on the samesave
-operation.Let me know if you need a repro and I'll try to come up with one.
The text was updated successfully, but these errors were encountered: