An error occurred while fetching the assigned iteration of the selected issue.
Clean up orphan Software licenses regularly
We store Software licenses in the shared table. If a user adds a license policy with an unknown license, it will create a new record in the software_licenses
table. The record will stay in the table even if the policy is removed.
In the past, we removed unused licenses already (#338801 (closed)). To keep the table clean, we can run a regular background job that removes orphan software licenses.
This issue resulted from an internal discussion: #407269 (comment 1689364693)
Implementation Plan
-
backend: See PoC on
435810-clean-up-orphan-software-licenses-regularly
branch