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

CSV uploaders must not be able to edit data in the 'questionnaire' #299

Open
4 tasks
eatyourpeas opened this issue Oct 5, 2024 · 1 comment
Open
4 tasks
Assignees
Labels
TODO Not an issue, but a feature to be added

Comments

@eatyourpeas
Copy link
Member

If users upload .csv files, they should not be able to edit the data subsequently in the user interface as this would cause their data to diverge from the original.

There are two options to this:

  1. a workflow that asks lead clinicians their intention on first sign in, and save this decision as a flag which would either switch off access to questionnaire, or given them view only access
  2. Allow users to have access to both but once the first patient has been saved by whatever means, this would set the flag constraining them to using this method only going forward.

Implications
For either of these options the following things need to happen

  • a flag needs adding, possibly to the submission model (since users need only be constrained per submission)
  • permissions need updating to reflect the flag value when policing access either to the platform or the csv upload
  • we need to decide if users can continue to access the questionnaire if they are spreadsheet users to view their data, or whether we switch this off
  • documentation / signposting needs to be made clear to users on login what the options available to them are and that any steps they take are not reversible.
@eatyourpeas eatyourpeas added the TODO Not an issue, but a feature to be added label Oct 5, 2024
@eatyourpeas eatyourpeas self-assigned this Oct 5, 2024
@eatyourpeas
Copy link
Member Author

Discussion IRL with @mbarton
Preference for users that upload csvs still to have view access to the questionnaire.
Preference to set flag on first use - can always be reversed by NPDA team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TODO Not an issue, but a feature to be added
Projects
None yet
Development

No branches or pull requests

1 participant