Fixes the 422 "confirm the licence first" on Freigeben in the licence check (#570).
A legal review can decide only about a confirmed licence or an SPDX licence the scan found. Components without a licence, or with one SPDX cannot read (a URL, as for EntityFramework), showed Freigeben/Ablehnen, and the agent refused them.
GET /api/v1/licenses/check now marks each row as decidable and says whether the requester may confirm licences (may_confirm, IT_ADMIN/USER).
The card shows Lizenz bestätigen (the licence editor from #569) on rows that can't be decided yet. LEGAL users see "Lizenz zuerst bestätigen (IT_ADMIN oder USER)" there instead. Approve/reject and the bulk checkbox appear only where a decision is possible.
The same package in several targets is now one row (with "in N Prüfobjekten"), since a confirmation and a review apply to the package. Before, there was one row per target (BouncyCastle 1.8.5 twice).
Fixes the 422 "confirm the licence first" on **Freigeben** in the licence check (#570).
- A legal review can decide only about a confirmed licence or an SPDX licence the scan found. Components without a licence, or with one SPDX cannot read (a URL, as for EntityFramework), showed Freigeben/Ablehnen, and the agent refused them.
- `GET /api/v1/licenses/check` now marks each row as `decidable` and says whether the requester may confirm licences (`may_confirm`, IT_ADMIN/USER).
- The card shows **Lizenz bestätigen** (the licence editor from #569) on rows that can't be decided yet. LEGAL users see "Lizenz zuerst bestätigen (IT_ADMIN oder USER)" there instead. Approve/reject and the bulk checkbox appear only where a decision is possible.
- The same package in several targets is now **one row** (with "in N Prüfobjekten"), since a confirmation and a review apply to the package. Before, there was one row per target (BouncyCastle 1.8.5 twice).
Test: `only_a_confirmed_or_spdx_licence_can_be_decided`.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
A legal review decides about a confirmed licence or an SPDX licence the
scan found. Components with no licence, or one SPDX cannot read (a URL),
showed Freigeben/Ablehnen anyway and the agent refused them with 422
("confirm the licence first"). The licence check now says which rows can
be decided (`decidable`) and who may confirm (`may_confirm`); the card shows
"Lizenz bestätigen" (the licence editor) on the others and offers
approve/reject only where a decision is possible.
The same package in several targets was one row per target; a
confirmation and a review are made for the package, so it is one row now,
with the number of targets.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sharang
merged commit ed71ced9b3 into main2026-10-15 15:09:59 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Fixes the 422 "confirm the licence first" on Freigeben in the licence check (#570).
GET /api/v1/licenses/checknow marks each row asdecidableand says whether the requester may confirm licences (may_confirm, IT_ADMIN/USER).Test:
only_a_confirmed_or_spdx_licence_can_be_decided.🤖 Generated with Claude Code
A legal review decides about a confirmed licence or an SPDX licence the scan found. Components with no licence, or one SPDX cannot read (a URL), showed Freigeben/Ablehnen anyway and the agent refused them with 422 ("confirm the licence first"). The licence check now says which rows can be decided (`decidable`) and who may confirm (`may_confirm`); the card shows "Lizenz bestätigen" (the licence editor) on the others and offers approve/reject only where a decision is possible. The same package in several targets was one row per target; a confirmation and a review are made for the package, so it is one row now, with the number of targets. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>