This PR replaces the standard "you do not have access" message when users are not logged in. I tried a few approaches and decided to handle it as a string replacement because there are over 1300 instances of the string in the core and additional modules. This approach introduces the least code changes and enables fine-tuning the wording of this message in the future.
From:
To:
Motivation and Context
This helps improve the user experience when someone clicks a link externally, especially from emails, but needs to login first to access the page. Rather than telling them access is denied, it prompts them to login.
This PR replaces the standard "you do not have access" message when users are not logged in. I tried a few approaches and decided to handle it as a string replacement because there are over 1300 instances of the string in the core and additional modules. This approach introduces the least code changes and enables fine-tuning the wording of this message in the future.
From:
To:
Motivation and Context This helps improve the user experience when someone clicks a link externally, especially from emails, but needs to login first to access the page. Rather than telling them access is denied, it prompts them to login.
How Has This Been Tested? Locally.