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

Change autoquery submissions to come from system instead of root #18

Open
malcjackson opened this issue Jan 9, 2024 · 1 comment
Open
Assignees
Milestone

Comments

@malcjackson
Copy link

malcjackson commented Jan 9, 2024

When autoqueries are created by the user closing the form or closed by data changes causing an item to become hidden, the submission seems hardcoded to indicate the action is attributed to the user "root"; see below ("user":"root" in the query submission):

{"queries":[{"type":"comment","id":"1","date_time":"2024-01-08 17:37:11.615 -05:00","comment":"Automatic query for: Temperature must be between 90 and 105 ⁰F or between 32 and 41 ⁰C (no more than 1 decimal digit)","status":"new","assigned_to":"","notify":false,"thread_id":"aa0be9bd-f3c4-4bbc-9df1-66ff128fa177","user":"root"}]}

We'd like to change this so in that all these cases autoquery actions currently attributed to root are instead attributed to "system" (so change to "user":"system" for autoquery submissions).

@theywa
Copy link

theywa commented Jan 12, 2024

Hi @MartijnR , can you please review this OpenClinica/enketo-express-oc#739 in your spare time? thanks

@MartijnR MartijnR transferred this issue from OpenClinica/enketo-express-oc May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants