Uploaded image for project: 'PhenoTips'
  1. PhenoTips
  2. PT-2362

Returned access level for other users is wrong when logged in as an administrator

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.2.5, 1.3-milestone-2
    • Component/s: None
    • Labels:
      None

      Description

      In DefaultPatientAccess,

      getAccessLevel(EntityReference user)
      

      will return level "owner", even for non-owner users. This seems to happen when the current user is the Administrator.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                sdumitriu Sergiu Dumitriu
                Reporter:
                antonkatz Anton
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: