getodk / central

ODK Central is a server that is easy to use, very fast, and stuffed with features that make data collection easier. Contribute and make the world a better place! ✨🗄✨
https://docs.getodk.org/central-intro/
Apache License 2.0
121 stars 145 forks source link

Add text to Create Entity List modal if project is encrypted #631

Closed matthew-white closed 2 months ago

matthew-white commented 2 months ago

If a project is encrypted, then incoming submissions won't modify entities. Yet entities can still be useful in encrypted projects. @lognaturel wrote on Slack:

You could use entities as long as they’re not manipulated by forms So you could do something like upload a list of districts that’s shared between forms and managed entirely in Central or through the API There is a reasonable use case for entities in projects with submission encryption.

In the "Create Entity List" modal, it'd be useful to mention something along these lines if the project is encrypted (i.e., if its keyId property is not null). The user should be able to create an entity list, but it should also be clear that new submissions won't create or update entities. That fact about submissions is mentioned in the "Enable Encryption" modal, but a reminder would be helpful.

dbemke commented 2 months ago

Tested with success!

srujner commented 2 months ago

Tested with success!