Uploaded image for project: 'PhenoTips'
  1. PT-3865

When the family template already specifies a default owner, new families end up having two owners

    Details

      Description

      Expected behavior: only A is the owner, in this case Admin should never be set as the owner. This is how it works for patients.

      A quick fix is to modify PhenoTipsFamilyRepository#create with logic similar to https://github.com/phenotips/phenotips/blob/phenotips-1.4-rc-4/components/entity-access-rules/api/src/main/java/org/phenotips/data/permissions/internal/OwnerUpdateEventListener.java#L71-L79

        Attachments

          Activity

            People

            • Assignee:
              asm Andriy Misyura
              Reporter:
              sdumitriu Sergiu Dumitriu
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: