Skip to content

Conversation

@iLLiCiTiT
Copy link
Member

Changelog Description

Marked get_thumbnail_by_id as potential danger as it requires admin or manager user. Don't use thumbnail_id for helper methods receiving thumbnails by entity type and entity id. Added helper method for task entity.

Testing notes:

  1. Validate changes made.
  2. You can try to run modified methods and added method get_task_thumbnail.

@iLLiCiTiT iLLiCiTiT self-assigned this Apr 7, 2025
@iLLiCiTiT iLLiCiTiT requested review from antirotor and kalisp April 7, 2025 14:35
@iLLiCiTiT iLLiCiTiT added the type: enhancement New feature or request label Apr 7, 2025
Copy link
Member

@kalisp kalisp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It sees to be pulling some content for task.

@iLLiCiTiT iLLiCiTiT merged commit 8f1727c into develop Apr 14, 2025
2 checks passed
@iLLiCiTiT iLLiCiTiT deleted the enhancemet/thumbnail-methods-cleanup branch April 14, 2025 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants