Skip to content

Conversation

@mbarton
Copy link
Member

@mbarton mbarton commented Jan 26, 2026

Closes #1268

Audit team members can already view and edit children in closed cohorts. This PR adds support for normal users to view children those cohorts without being able to edit them.

Just a WIP so far - still need to copy paste the approach to all the elements in the audit form.

TODO:

  • fix up so that enabled is set to True on the HTMX callbacks
    • how about inverting the booleans to disabled? That way we only need to set it in the main rendering, not the HTMX callbacks
  • reject HTMX callbacks entirely (not just disabled in front end)
    • We do analyse data from DB snapshots so not the end of the world if a bug means someone updates something but good manners says we should reject it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Users not being able to view Cohort 6 entries

2 participants