Skip to content

Adding Orga and voting admins to their admins group

- requested to merge VOTING_ORGA_ADMIN_GROUP_AUTOMATION into master

What does this MR do?

Admins of the workgroupfunction voting are automatically added to a global Voting admin group Users who have orga permissions are added to the orga coordination group. Minor adjustment to orga user query to include role (both has to be correct).

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

Quite,

Links to related issues

How to test

  1. Checkout branch locally
  2. Run Seed data to create local voting Workgroup
  3. run nightly scripts and check if in the "überregional Abstimmungs-Praxis" ag the local admins are added as members
  4. Change the local admins of the workgroup and and run step 3 again.

Screenshots (if applicable)

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
  • used "state:" labels to track this MR's state until it was beta tested
  • added an entry to CHANGELOG.md
  • added 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 the Beta Testing forum: https://foodsharing.de/?page=bezirk&bid=734&sub=forum
    • 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 in German

Die Admins der lokalen Abstimmungsgruppen werden automatisch in eine Überregionale "Abstimmungs-Praxis" AG mit aufgenommen um den Austausch untereinander zu fördern. Accounts mit Orgarechten werden der überrergionalen "Orga-Koordinations" Gruppe hinzugefügt um hier einen besseren Austausch zu ermöglichen.

Edited by -

Merge request reports