Review main Merged

57822[BUGFIX] Set constraints in `FrontendRestrictionContainer` depending on workspace context

Andreas Kienast CR +2 V +2 Easy +9 −5 updated 12/14/18, 10:49

Commit message

The `FrontendRestrictionContainer` must not respect the hidden flag, if
the request happens in a workspace context. The reason is that for
example pages that are created in a workspace have a hidden LIVE version,
which makes overlaying impossible.

This patch changes the behavior to act the same as
`PageRepository::enableFields()` does.

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