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 #1

Updated by Ivan Necas about 7 years ago

  • Related to Bug #21082: Combination of owner search with generic search term ends up with sql issues added
Actions #2

Updated by The Foreman Bot about 6 years ago

  • Assignee set to Adam Ruzicka
  • Pull request https://github.com/theforeman/foreman-tasks/pull/364 added
Actions #3

Updated by The Foreman Bot about 6 years ago

  • Status changed from New to Ready For Testing
Actions #4

Updated by Anonymous over 5 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Evgeni Golov about 5 years ago

  • Related to Bug #28152: PG::ForeignKeyViolation when trying to add a relation to deleted users added
Actions

Also available in: Atom PDF