Project

General

Profile

Actions

Refactor #21083

closed

Use explicit relation for task -> user association

Added by Ivan Necas about 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Currently, we are using special type of lock called "owner" to determine
the link between task and user. This approach is to cryptic + causes some
issues with scoped-search. Using explicit relation should be better
in this case.


Related issues 2 (0 open2 closed)

Related to foreman-tasks - Bug #21082: Combination of owner search with generic search term ends up with sql issuesClosedIvan Necas09/22/2017Actions
Related to foreman-tasks - Bug #28152: PG::ForeignKeyViolation when trying to add a relation to deleted usersClosedAdam RuzickaActions
Actions

Also available in: Atom PDF