◀For Prosecutors' Eyes Only
LOGIC island-is/island.is #24320 · ★ 446fix(j-s): hide generated case files record from defenders on specific casesA real, public pull request, signed as made with Cursor. See it on GitHub ↗
IN THE WORLD

Defense lawyers in Iceland won't see dummy case-file packages on certain court cases.

REACH

Built by Digital Iceland, Ísland.is is used by 91% of Icelanders, with 576,000 digital applications sent in 2025 across 154 government institutions and 100K+ app downloads.

WHAT IT MEANS

Hides a placeholder case-files PDF from defense lawyers on specific indictment cases where the court has already uploaded the real documents, preventing confusion without affecting prosecutors or judges.

  • Digital Iceland (Stafrænt Ísland)makes it
  • Supreme Court of Icelanduses it
  • Directorate of Public Prosecutionsuses it
RED · how I did it
  • GONE If generated PDFs are enabled for the view, then show the case files record.
  • If generated PDFs are not enabled, then hide the case files record.
GREEN · how I do it now
  • If generated PDFs are not enabled, then hide the case files record.
  • NEW If you are a defence lawyer on a listed exception case, then hide the case files record.
  • NEW Otherwise, show the case files record.

WHERE The case files list on an indictment overview page in the Icelandic judicial portal.

SCENE You log into the court portal and open an indictment to review its documents. In a few special cases, the court uploaded the real evidence separately, making the auto-generated case files package a misleading dummy.

Generated PDFs enabled
Whether the view is set to display auto-generated PDF documents for this indictment. (Enabled · Disabled)
Your court role
Which role you hold when viewing the indictment in the judicial portal. (Defence lawyer · Prosecutor · Judge)
On exception list
Whether this case is one of the special cases where real files were uploaded separately. (Listed case · Standard case)