On certain screens, when a user lacks the required permissions, the application displays a error message instead of the expected "No Permissions" screen.
Expected Behavior:
The application should consistently display a clear "No Permissions" message or screen whenever a user attempts to access functionality without the necessary permissions.
Here an example link: https://maileditor-pigeon.server.lan/?action=templatefiles&comtype_country_id=4281&comtype_id=7240&mode=edit&page=comtypes&select_country=9&submode=countries
