We're updating the issue view to help you get more done. 

Event listener: SetDefaultVisibility

Description

Component: entity-access-rules-api

Activated on patient record creation or when a user or a workgroup becomes owner of a patient record

Retrieve the configured defaultVisibility for the user (either from the user profile or, if missing, from its workgroup) or from the new owner profile.

  • If one defaultVisibility entry exists and the value is a valid visibility level, set the visibility accordingly

  • If more than one such entry exists, only look at the first one as described above and ignore the rest

  • If no such entry exists, do nothing

Environment

None

Status

Assignee

Veronika Koltunova

Reporter

Marta Girdea

Labels

None

External issue ID

None

External issue ID

None

Priority

Medium