Add role attribute to Groups API to filter by role of user

Problem

To support a role filter listing more than just the Owner role in Your Work > Groups, we need to add an additional role attribute to the ability to filter groups.

Proposal

  • app/finders/groups_finder.rb has a min_access_level param, but for this we would need a access_level param.
Edited by Alex Pooley