Page MenuHomePhabricator

redirect to login on access denied
Closed, ResolvedPublic

Description

any way to handle people accessing pages they don't have rights to/when they arne't logged in more elegantly
currently gives 404 error

redirect to login instead

Created: Mon, 01 Feb 2016 22:38:50 GMT
Last Updated: Fri, 17 Jun 2016 16:40:27 GMT

Details

External Reference
HWUMC-112

Event Timeline

mhamiltonj created this object with visibility "Public (No Login Required)".
mhamiltonj created this object with edit policy "HWUMC (Project)".

jenkins wrote at Fri, 17 Jun 2016 16:40:27 GMT:

SUCCESS: Integrated in !https://jenkins.stwalkerster.co.uk/images/16x16/blue.png! [hwumc-beta-deploy-phab #28|https://jenkins.stwalkerster.co.uk/job/hwumc-beta-deploy-phab/28/]
HWUMC-112 redirect to login on access denied, and redirect back again (stwalkerster: rev 45562c9f5eb9d46c45ab207203d773378fe4412e)

  • (edit) ContentManagementExtensionHooks.php
  • (edit) DataObjects/Page.php

HWUMC-112 redirect to login on access denied, and redirect back again (stwalkerster: rev 30d5ac45848934406c9bb905be20d684b3ff12dc)

  • (edit) include/Page/PageLogin.php
  • (edit) include/DataObjects/User.php