wixData.bulkUpdate() giving me permission problems.

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.

Check the collection permissions. Maybe the permission to update is set to Admin-only (unlike the permission to create).

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.

I don’t know, but I’d suggest to change the permissions to Custom Use and then set them explicitly: Who can create, Who can update etc…

@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?