Manually add entries in the License Management settings
In #5488 (closed) we created a settings page to handle license management entries. The list is populated when users add entries from the License Management report, and can be changed or deleted. But there is no way to add a new license in the list manually from the settings page.
A common use case is the following: I already know which are my licenses (approved, blacklisted) when I start my project. I want to enforce it from the beginning, so any developer working on it already knows if there is a conflict or not, without dealing with the "unapproved" licenses). With the current flow, we need to wait until a license appears in the report before we can "action" it. It would be useful to allow a manual add of the license even before it has been found.
Add licenses directly in the settings page. Once added, they are exactly the same as any other entry in the page.
We can use a dropdown that also allows arbitrary input. The dropdown is preloaded with a list of known licenses.
This allows the following use cases:
- users open the dropdown and select an existing license from the list
- users start to type and the dropdown list is filtered to show only matching entries
- users type a license that is not in the preloaded list, and use it as a "custom" entry
The source of the preloaded license list is available at