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

Support Approve/Reject entity lists #6632

Open
3 tasks
seadowg opened this issue Mar 4, 2025 · 0 comments
Open
3 tasks

Support Approve/Reject entity lists #6632

seadowg opened this issue Mar 4, 2025 · 0 comments

Comments

@seadowg
Copy link
Member

seadowg commented Mar 4, 2025

Blocked on Open Rosa spec

Collect needs to be able to support the new approvalEntityList media file type. If a media file has this type, it should behave like other entity lists, except that offline entities should not be created by registration forms. Offline updates should work as they do for any other entity list.

Acceptance

  • Given I have created a project on Central with entity registration and update forms
    And the project uses the Accept/Reject workflow
    When I use the project to fill out a registration form
    And I finalize the form
    Then the new entity is not available to update forms

  • Given I have created a project on Central with entity registration and update forms
    And the project uses the Accept/Reject workflow
    When I use the project to fill out an update form
    And I finalize the form
    Then the updated entity is available in the update form

  • Given I have created a project on Central with entity registration and update forms
    And the project uses the Accept/Reject workflow
    And Collect only has access to the registration form
    When I use the project to fill out a registration form
    And I finalize the form
    And I grant Collect access to the update form
    Then the new entity is not available in the update form

Questions

  • What do we do about the case where an app user only has access to registration forms and then has an update/follow-up form added later?
    • In this scenario, the entity should not be available to the follow-up form when it's added later.
  • How important is it that we have offline Entities created when there was no follow-up form show up in future follow-up forms?
@seadowg seadowg moved this to ready in ODK Collect Mar 4, 2025
@seadowg seadowg moved this from ready to inbox in ODK Collect Mar 4, 2025
@seadowg seadowg moved this from inbox to ready in ODK Collect Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ready
Development

No branches or pull requests

1 participant