To make sure users do not delete items they have created (on purpose or on accident), they need to not be the app creator and not be the item creator (and not be a workspace administrator).
If an item is created via webform, the creator = the app itself, not any user (because there's no authentication when viewing or submitting a webform).
One workaround is to only allow submissions via webform, but that takes away the ability to use app references (e.g. pick a client item for this contract item).
Another workaround is to code your own entire front-end web app that requires authentication and basically recreating what Podio already has for their front-end.
I asked Podio Support about this, and they said there are no plans for additional permission levels (e.g. "delete" permissions).
My idea/solution is to create a Podio hook and/or a standalone script (effectively like Zapier or IFTTT or ItDuzzit) -- not exactly sure what's needed -- to do this:
A) If new app is created, then change creator to MYNAME. (possibly even remove them as an app administrator) -- not sure if this is even possible in Podio
B) If new item is created, then change creator to APPNAME (as if it was submitted via webform).
Ideally, if there's a way to have a cronjob or something like that run to get all items from all apps in all workspaces that my account has access to of which I am not the creator and then update each item to have the APPNAME be the creator.
If that's not possible, maybe create a hook (but then I have to remember to add it to each app in each workspace) that is ideally just 1 PHP file on my server (in addition to the Podio Client files) so I can use the same URL hook for all my apps that have other users inputting information.
A few developer references:
https://developers.podio.com/examples/items#subsection_update_item -- shows "created_by" -- seems to be just another field for each item, hopefully it can be edited/modified/updated
If there's any helpful information you could provide, I sure would appreciate it.
Thank you very much.
Please sign in to leave a comment.