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

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

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.

Environment

None

Status

Assignee

Sergiu Dumitriu

Reporter

Kat Pavlova

Labels

External issue ID

None

External issue ID

None

Fix versions

Priority

Medium