Letās say Iām doing a change in my DB structure and in order for everything to work right for existing users I want to add things āfor themā in the data base through a backend workflow operated through āBulkā action in the DB view in the editor.
- If Iām adding fields to existing things/change values of fields this way everything works great.
*If Iām trying to add things, these things are created by a ādeleted userā and wonāt be shown to the user because of privacy rules.
Solutions I thought of:
-
Create a one-time work flow that will initiate the backend work flow when a user logs in.
-
Create a hidden button that initiates this backend workflow, then log in as a user and click on this button, the backend workflow will create these things with this user as a creator and everything will work except that I donāt want to log in as my users (doesnāt feel right + much workā¦)
-
Create a field for this āthingsā which will read āforUserā, add the user to this field and change the privacy rules.
Is there anything Iām missing? Canāt I create things directly from the DB?
Thanks!