johnvanbreda / naturespot-d8

Drupal 8 code for Naturespot
GNU General Public License v3.0
0 stars 1 forks source link

Submit records / 403 #244

Open davidnicholls125 opened 2 months ago

davidnicholls125 commented 2 months ago

There are a few links to the Submit Records page around the site and these are viewable to non-logged in users. However if they click on the link they get a 403 error. Is it possible to redirect non-logged in users to the page below if they try to access submit records page? https://www.naturespot.org.uk/register

johnvanbreda commented 1 month ago

I can change all attempts to access an unauthorised page so they go to the register page, but not just ones that are links to the Submit Records form (or at least, not without custom code). Shall I do that?

Also the page https://www.naturespot.org.uk/node/231862 which is shown when you access an unauthorised page has a title "403 error" which many users will not understand - a title like "Unauthorised" is a bit clearer? This page could also have a page alias "/unauthorised" rather than just a node number.