Review 9.5 Merged

63463[BUGFIX] Check if editor is allowed to drag-move pages in pagetree

Susi Moog CR +2 V +2 Easy +14 −1 updated 02/29/20, 20:25

Commit message

Before, editors could always use drag and drop to move pages in the
page tree, even if they were lacking the permissions to modify pages.
After trying to move a page, an error message would then be shown.

The following permission checks have now been added:
- Check if the editor is allowed to modify pages.
- Check if the editor is allowed to access the default language

The drag and drop feature is now only enabled, if these restrictions are
met. Admin users can use drag and drop in any cases.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 2