I find myself needing to insert rows on behalf of my users. I am selling a product, and each one needs to come with a unique identifier (UID). I want to be able to display the UIDs for each of their purchased products in the “My Orders” page of their account. I have surmised that I am able to filter database collections by “Owner:Logged In User”, so in that way, I would be able to use a repeater to display all UIDs associated with the logged in user. However, I cannot find a way, as an admin, to insert new database rows with custom Owner column values.
I cannot have my users submit forms to create these rows under their Owner ID, because that gives my users too much power. They can only have 1 UID for every 1 product purchased.
Do I create an admin-only page with a password, and create a form on there to insert database rows? If so, how do I set the Owner to someone other than me?