更新时间:2023-02-22 21:16:03
显然,我需要在所有保存功能中添加useMasterKey
.在.save()
函数中,它是第二个参数,如下所示:obj.save(null, {useMasterKey: true})
So apparently I needed to add useMasterKey
to all my save functions. In a .save()
function it is the second parameter, like so: obj.save(null, {useMasterKey: true})
一旦这样做,就创建了角色,我的所有关系都重新开始,依此类推.
Once I did that, the Role was created, all my relations are working again, etc.
有关更多信息,请参见此处: https://github.com/ParsePlatform/parse-服务器/问题/37
See here for more info: https://github.com/ParsePlatform/parse-server/issues/37