Skip to content

Fix visibility of button for joining groups

Alex requested to merge fix-join-group-permission into master

Follows !1953 (merged)

https://yunity.slack.com/archives/C74JC2V26/p1619497680000100

What does this MR do?

Makes sure that the "apply for working group" button is not visible when you already are a member of that group.

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

Very sure

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 userorga
  3. Go to the list of working groups and find one in which you are not a member
  4. Apply for that group
  5. Go to the group's page and accept your own application
  6. Go back to the list -> you shouldn't see the application button anymore

Checklist

  • added a test, or explain why one is not needed/possible...
  • no unrelated changes
  • asked someone for a code review
  • set a "for:" label to indicate who will be affected by this change
  • use "state:" labels to track this MR's state until it was beta tested
  • added an entry to CHANGELOG.md
  • add a short text that can be used in the release notes
  • Once your MR has been merged, you are responsible to create a testing issue in Beta Testing Repo:
    • Consider writing a detailed description in German.
    • Describe in a few sentences, what should be tested from a user perspective.
    • Also mention different settings (e.g. different browsers, roles, ...). how this change can be tested.
    • Be aware, that also non technical people should understand.

Release notes text

(A short text that will appear in the release notes and describes the change for non-technical people. Not always necessary, e.g. not for refactoring.)

Edited by Alex

Merge request reports