Hello, Iām building a small admin web interface where the admin has entire access to do anything and everything with parse objects. Iāve decided to use the master key during the initialization like
Parse.masterKey = ā123456ā;
Everything is good so far, but when I tried to save a different user object, it says āinsufficient authā. However, I overcame this problem by specifying this option to save function like
userObj.save (null, {useMasterKey: true});
I find it not so convenient to do this way because Iāve lot of query statements on a big codebase. I might probably have to do this on all my query/save statements. My question is, is there another way to force use master key on all operations by default on Parse JS API without manually including this option on each operation?
Any help is appreciated. Thank you.
Regards
Shiv