Open adriancofie opened 5 years ago
One of the undesirable effects of the current behavior is a discrepancy between the title, which claims that the page does not exist, and the body which says that the page does exist, but the user isn't allowed to see it.
Verified 12-7-2023
In an incognito window
https://www-cms.cancer.gov/research/key-initiatives/moonshot-cancer-initiative/blue-ribbon-panel/archive
https://www.cancer.gov/research/key-initiatives/moonshot-cancer-initiative/blue-ribbon-panel/archive
Bug Description
When a user goes to a page that has not been published or has been archived and the user is not logged in, then the user shall be redirected to the login page.
This ticket is to either point the 403 message to the existing 404 (the logic for which is almost in place) or at the very least come up with another UI friendly remedy.
403 Page
Defaulting to built-in Drupal 403/404
Overriding the default 404 but not the default 403