Redwood: How to display "Access Denied" in personal details page when privilege is removed
Hi All,
We have a requirement to hide national identifier details on person details page.
'View Person National Identifier' and 'Manage Person National Identifier'.
By removing above roles, we were able to achieve the expected results. However, on redwood pages instead of displaying ' Access denied' message we see the below message on the sections
"Add official national identifier information provided by legislative organizations" .
In responsive pages, it is displaying correctly saying ' Access denied'.
Could anyone please advise how to display ' Access denied' on the page when there is no privilege/access to that particular data in redwood.