Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to query for lists of draft entries #114

Open
justlevine opened this issue Jun 26, 2021 · 1 comment
Open

Add ability to query for lists of draft entries #114

justlevine opened this issue Jun 26, 2021 · 1 comment
Labels
help wanted 🙋‍♂️ Extra attention is needed status: needs discussion 💬 Needs to be discussed before action can be taken type: feature 🦋 New feature or request
Milestone

Comments

@justlevine
Copy link
Member

Gravity Forms doesn't have a public API for accessing a list existing draft entries, instead requiring you to know the draft token.

A database query needs to be written to grab all of them, so we can support both gravityFormsDraftEntries and including draft entries in the existing gravityFormsEntries.

@justlevine justlevine added type: enhancement ⚡ Improves on an existing feature help wanted 🙋‍♂️ Extra attention is needed labels Jun 26, 2021
@justlevine justlevine added this to the Future milestone Aug 12, 2021
@justlevine
Copy link
Member Author

We need to think hard about the auth restrictions on this, i.e. who can query for lists of draft entries.

Natively, you need the resume_token, which is only displayed to the user filling out the form (although they theoretically can share the link), but not even Super Admins can see a list of draft entries.

I see a use-case for showing users a list of all their own draft entries, but the ramifications of making this data available to admin roles needs to discussed. Mainly: is there a reasonable expectation that users who save a submission for later will have their unfinished data kept private from the site administrators?

That said, the Partial Entries Add-on does add unsubmitted entries to the backend entry list, I believe without explicitly indicating such on the form. So maybe we don't need to care either?

@tinytoolbox @natac13 - I know Harness relies heavily on draft entries, and I'm sure you have some valuable real-world insights.

@justlevine justlevine added the type: question ❔ Should probably be in GitHub Discussions label Jan 16, 2022
@justlevine justlevine added type: feature 🦋 New feature or request and removed type: enhancement ⚡ Improves on an existing feature labels Mar 20, 2022
@justlevine justlevine changed the title [Feature Request] Add ability to query for lists of draft entries. Add ability to query for lists of draft entries. Mar 20, 2022
@justlevine justlevine changed the title Add ability to query for lists of draft entries. Add ability to query for lists of draft entries Mar 20, 2022
@justlevine justlevine added status: needs discussion 💬 Needs to be discussed before action can be taken and removed type: question ❔ Should probably be in GitHub Discussions labels Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted 🙋‍♂️ Extra attention is needed status: needs discussion 💬 Needs to be discussed before action can be taken type: feature 🦋 New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant