Project

General

Profile

Actions

Bug #10558

closed

Remove and prevent duplicate tokens via DB migration

Added by Dominic Cleal almost 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
DB migrations
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

A DB migration should be added to remove any duplicates caused by #10535.

It should also add a uniqueness check (index, validator) on the host_id in the tokens table to prevent further occurrences.

Similar to some of the commits in #9597 and #10365.


Related issues 2 (0 open2 closed)

Related to Foreman - Bug #10535: Tokens are created for managed hosts after validationClosedOri Rabin05/18/2015Actions
Related to Foreman - Bug #22342: Unable to delete the host from foremanRejected01/19/2018Actions
Actions

Also available in: Atom PDF