Closed hkethi002 closed 6 years ago
If a project has phi=false
, phi will always be returned from all endpoints and ignore site level phi settings.
If tags/notes are marked as PHI,
should a non-PHI user be able to add? - Yes view? No modify? - Yes for own notes, tags cannot be modified delete? - Yes for own notes, no(?) for tags, but we'll allow for now.
Projects cannot override site-level PHI fields, the only way they can display fields blacklisted by site-level PHI settings is to list the project as phi=false
.
What to do for GET /sessions
when sessions will have different project PHI settings? Use site-level defaults?
Log with PHI settings change in access log.
Search whitelist of returned fields should not conflict with PHI settings (users should not be able to add any fields from search whitelist to project/site level PHI).
For projects where phi is disabled:
PHI permission enhancements
Custom PHI field settings