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

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

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 (), since the collaborator levels that are read via GET do not always correspond to the collaborator levels recorded.

Environment

None

Status

Assignee

Veronika Koltunova

Reporter

Marta Girdea

Labels

None

External issue ID

None

External issue ID

None

Components

Fix versions

Affects versions

1.3

Priority

Major