bottleneckcrm/docs/reference
Ashwin 0e6d880187 Add tests for client links and attachment deletion authorization
- Introduced tests for frontend URL generation in `test_client_links.py` to ensure all links in emails are reachable and correctly formatted.
- Added authorization tests for deleting attachments in `test_attachment_delete_authz.py` for leads and opportunities, ensuring proper access control based on user roles and organization boundaries.
- Updated `LeadAttachmentView` and `OpportunityAttachmentView` to use `get_scoped_or_404` for safer object retrieval, preventing unauthorized access to attachments across organizations.
- Improved documentation regarding the organization API key and personal access tokens, clarifying their scopes and security implications.
- Enhanced frontend token management to support new scope enforcement, allowing users to specify access levels when creating tokens.
2026-08-05 07:02:40 +05:30
..
environment-variables.md Add tests for client links and attachment deletion authorization 2026-08-05 07:02:40 +05:30
glossary.md Add tests for client links and attachment deletion authorization 2026-08-05 07:02:40 +05:30
management-commands.md Refactor comments for clarity and consistency across multiple screens and services 2026-08-03 09:36:48 +05:30