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

The permissions REST API always returns the 'owner' access level for collaborators with administrative rights on a patient record, regardless of the recorded collaborator level

    Details

      Description

      There are many ways to reproduce this. The simplest is:

      Expected: Collaborator 'Admin' appears with 'edit' access level, as it was recorded
      Actual: Collaborator 'Admin' appears with 'owner' access level

      This behavior appears to be intentional and there probably was a good reason behind this choice originally. However, it creates issues with using the RESTful API for managing permissions from the UI ( PT-3210 Closed ), since the collaborator levels that are read via GET do not always correspond to the collaborator levels recorded.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                veronikaslc veronikaslc
                Reporter:
                marta Marta Girdea
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: