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

Create API for checking whether or not a user is part of a given User Group

    Details

    • Type: Task
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 1.5
    • Component/s: None
    • Labels:
    • Sprint:

      Description

      For a given user group and user, there should be a method to determine whether or not the user is part of the user group. This will be useful for reworking permissions in the future, and for the example use case below:

      The future MY GROUPS window on the homepage will only load Work Groups that the user is a part of. If the user is part of a user group that is a member of the work group Cardiology (eg. Cardiology Administrators), they should be recognized as a member of Cardiology even if they are not directly on the Members list, and should have Cardiology loaded in their MY GROUPS window.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                sdumitriu Sergiu Dumitriu
                Reporter:
                katpccm Kat Pavlova
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: