Skip to content

add [tasks] - grant permissions to task assignee#760

Merged
danielkweon merged 1 commit intomainfrom
daniel/m-5426--add-tasks-quick-create-menu-hexagon-migration-notification-permissions
Dec 30, 2025
Merged

add [tasks] - grant permissions to task assignee#760
danielkweon merged 1 commit intomainfrom
daniel/m-5426--add-tasks-quick-create-menu-hexagon-migration-notification-permissions

Conversation

@danielkweon
Copy link
Copy Markdown
Contributor

add [tasks] - add notifications and permissions when assigning a task

@danielkweon danielkweon self-assigned this Dec 23, 2025
@danielkweon danielkweon requested a review from a team as a code owner December 23, 2025 22:25
@linear
Copy link
Copy Markdown

linear bot commented Dec 23, 2025

@danielkweon danielkweon force-pushed the daniel/m-5426--add-tasks-quick-create-menu-hexagon-migration branch 2 times, most recently from 0528aa8 to 9a8b677 Compare December 23, 2025 22:26
@danielkweon danielkweon force-pushed the daniel/m-5426--add-tasks-quick-create-menu-hexagon-migration-notification-permissions branch from 2cb1284 to d188776 Compare December 23, 2025 22:26
Copy link
Copy Markdown
Contributor

@cowlicks cowlicks left a comment

Choose a reason for hiding this comment

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

Looks great, thank you.

Copy link
Copy Markdown
Contributor

@synoet synoet left a comment

Choose a reason for hiding this comment

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

Overall fine. But please address my comments before merging.

Comment on lines +89 to +96
&self,
user_ids: &[String],
entity_id: &str,
entity_type: EntityType,
) -> Result<(), Self::Err> {
if user_ids.is_empty() {
return Ok(());
}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: @whutchinson98 had a utility somewhere for taking a Vec/Slice of non-zero length maybe use that ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

hutch - can you point me to the util?

@danielkweon danielkweon force-pushed the daniel/m-5426--add-tasks-quick-create-menu-hexagon-migration branch from e02b159 to 6d5b963 Compare December 28, 2025 23:01
Base automatically changed from daniel/m-5426--add-tasks-quick-create-menu-hexagon-migration to main December 28, 2025 23:14
@danielkweon danielkweon force-pushed the daniel/m-5426--add-tasks-quick-create-menu-hexagon-migration-notification-permissions branch 3 times, most recently from e328dc6 to 1843f03 Compare December 29, 2025 04:45
@danielkweon danielkweon requested a review from a team as a code owner December 29, 2025 04:45
@github-actions github-actions bot added the infra label Dec 29, 2025
@danielkweon danielkweon force-pushed the daniel/m-5426--add-tasks-quick-create-menu-hexagon-migration-notification-permissions branch 2 times, most recently from 29e6dc5 to 25dddd3 Compare December 30, 2025 16:46
- Add grant_permissions_to_task method to PermissionService trait
- Implement permission granting in PermissionServiceImpl using upsert_user_item_access_bulk
- Grant edit permissions to all assignees when task assignees are updated
- Add tests for permission granting functionality
@danielkweon danielkweon force-pushed the daniel/m-5426--add-tasks-quick-create-menu-hexagon-migration-notification-permissions branch from 25dddd3 to 7e9dc31 Compare December 30, 2025 17:16
@danielkweon danielkweon changed the title add [tasks] - add notifications and permissions when assigning a task add [tasks] - grant permissions to task assignee Dec 30, 2025
@danielkweon danielkweon merged commit ebc1e43 into main Dec 30, 2025
37 checks passed
@danielkweon danielkweon deleted the daniel/m-5426--add-tasks-quick-create-menu-hexagon-migration-notification-permissions branch December 30, 2025 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants