Skip to content

Exclude work groups from "my groups" for which the user is not accepted

Alex requested to merge mygroups-only-active into master

What does this MR do?

Excludes work groups from the "my groups" section of the topbar search for which the user has applied but is not yet accepted. It seems a bit confusing to list those under "my groups". The groups can still be found by searching.

Slack discussion: https://yunity.slack.com/archives/C1T1ZM9A4/p1592460782047500

How confident are you it won't break things if deployed?

Very sure, the gateway function is not used anywhere else

How to test

Steps a reviewer can take to verify that this MR does what it says it does e.g.

  1. Checkout branch locally
  2. Login as foodsaver
  3. Apply for any working group that is not open to join and relogin
  4. Type the name of that group into the top bar -> it should appear in the search results, but not in your groups

Checklist

  • added a test, or explain why one is not needed/possible...
  • no unrelated changes
  • asked someone for a code review
  • joined #foodsharing-beta channel at https://slackin.yunity.org
  • added an entry to CHANGELOG.md (description, merge request link, username(s))
  • Once your MR has been merged, you are responsible to update the #foodsharing-beta Slack channel about what has been changed here. They will test your work in different browsers, roles or other settings

Merge request reports