Enable passing custom error code to DenyWcmDisabled

Description

The DenyWcmDisabled Model sets a 403 Forbidden header if WCM mode is disabled.
It should get extended to take any HTTP status code by request attribute with 403 as default value.

Activity

Show:
cnagel
July 11, 2017, 12:19 PM

Implemented in https://github.com/wcm-io/wcm-io-wcm/pull/2
Please check and merge.

Stefan Seifert
July 11, 2017, 12:50 PM

thanks, i've added a changelog entry and applied it.

Fixed

Assignee

Stefan Seifert

Reporter

cnagel

Labels

None

Components

Fix versions

Priority

Minor