Skip to content

added PR Partner and team and pr start page to edit content permission

- requested to merge 967-content_to_wg_admins into master

Closes #967 (closed)

What does this MR do?

Extends access to "edit content" (Inhalte bearbeiten) to workgroup PR-Partner and Team as well as PR-startpage

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

kind of

Links to related issues

How to test

Steps a reviewer can take to verify that this MR does what it says it does e.g. A bit difficult since in the fs_bezirk the workgroups is not there with the corrospending id

  1. Checkout branch locally
  2. Login as Bot (since bot user is also admin of quiz group)
  3. Login as storemanager1 to have the content for startpage
  4. Login as storemanager2 to have the content for team and partner page
  5. Go to "Zahnrad"
  6. Go to "Inhalte Bearbeiten"
  7. You now see all relevant texts content that are linked to the quiz
  8. Edit and save a content
  9. If you are in the edit window - change the id in the url to another , it should throw you back to the list since it is not in the permission of the quiz group.

You can only be one - adding an admin to more groups doesn't extend your list.

Screenshots (if applicable)

Any relevant screenshots if this is a design / frontend change

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

  • Gruppenadministatoren der AG "Öffentlichkeitsarbeit - Startseite" haben über das interne CMS zugriff auf die Inhalte für die Gestaltung der Startseite.

  • Gruppenadministatoren der AG "Öffentlichkeitsarbeit - Partner" haben über das interne CMS zugriff auf die Inhalte für die Gestaltung der Partnerseite.

  • Gruppenadministratoren der AG "Quiz" haben über das interne CMS zugriff auf die Inhalte aller Seiten die für das Quiz relevant sind.

(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 -

Merge request reports