I have a collection. The permissions to this collection are set to “Member Generated Content”, which should allow the members to add new data and update data that they have authored. (Al least that is my understanding).
When the user adds to the collection via .insert(), it works fine. But once inserted, he does not have permission to update the data .update() or .bulkUpdate().
" Error: WDE0027: The current user does not have permissions to update on the scheduleTemplate collection.
Any help would be greatly appreciated.
p.s. My understanding is that a member is an author when “_owner” and “wixUser.currentUser.id” are the same. Is that wrong? Because that condition exists in my case.
Nope, as I said, its set to “Member Generated Content”.
Kinda surprised, this question didn’t get more engagement. At least from the community admin… Seems like a question regarding the ABC of Velo functionality.
@jonatandor35 Yes, thats what I did. I set them to custom use, and the only thing I changed is made it that all members have permission to update, not just member authors, and that works.
That means that wix thinks the user is not the author. But how can that be, if _owner and wixUser.currentUser.id are the same for all items in the updating array. surely that is the definition of author? If thats not the definition, then what is?