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

Rights are not always correctly reflected on the patient form after they were edited

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Duplicate
    • Affects versions: 1.3-milestone-3
    • Fix versions: None
    • Components: patient-form
    • Labels:
      None
    • Sprint:

      Description

      In the current code when an owner is changed this automatically sets the current owner as a collaborator. However after an owner change only the owner part is updated on the patient form. Data is correct as a refresh fixes this display issue.

      We should either not set the current owner as collaborator automatically (at least not from UI?) or fix the JS code which updates the right on the patient form after edit (my blind guess is that that code was written before this additional setting-collaborator behaviour was added. The best fix is IMHO to return the actual rights in the response to rights change request, so that there is no business logic/guessing on the client side)

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                veronikaslc Veronika Koltunova
                Reporter:
                asm Andrew Misyura
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: