Can someone explain to me briefly what master keyis within the scope of the parser cloud code?
Is it possible that the recently implemented CC function (which uses the master key) can change the behavior of functions other than Cloud Code?
As an example, you have a correctly working solution that allows the current user to add other objects PFUserto the relation and delete them if necessary. Up to this point you do not need master key, because you are writing PFUser currentUserwith the current user. Later you create a different type of user relationship in which you want to write another object PFUser, now this time you need to use it master key, because without it currentUseryou wonβt be able to write other objects PFUser. Therefore, you create a cloud code file to solve this problem and give legitimacy to the actualcurrentUserto record other users. Now everything works fine, we do not get an error when the actual user wants to write other user objects. However, something happened. When he currentUsertries to delete data from his first PFRelation(which also worked before the new cc function), he gets the same error ..user must be authenticated via logIn or signUpthat we received before we first tried to write another user.
I think, since we use a master key, it will override the existing / original security settings and we need to implement it for every other function. I'm right? If so, how can I handle this? Or can you just set different restrictions inside the main.jscc file , and each "old" function will work just like a new one that uses a master key?
, .