Describe the Bug:
Public Templates lists all public templates and allows opening any of them read-only. Non-admins should only see templates they are allowed to copy (document types), not email templates they cannot import.
Reproducibilty:
Steps to Reproduce the Behavior:
- Log in as non-admin user.
- Templates → Public Templates.
- Observe email templates listed; use View on a template you cannot copy.
Expected Behavior:
Only show templates the user can import. No read-only access to templates they cannot own/copy.
Actual Behavior:
All public templates shown. View opens /template/:id even when copy is denied server-side.
Describe the Bug:
Public Templates lists all public templates and allows opening any of them read-only. Non-admins should only see templates they are allowed to copy (document types), not email templates they cannot import.
Reproducibilty:
Steps to Reproduce the Behavior:
Expected Behavior:
Only show templates the user can import. No read-only access to templates they cannot own/copy.
Actual Behavior:
All public templates shown. View opens
/template/:ideven when copy is denied server-side.