Skip to content

Protected note contents get rendered whenever it has child notes #9229

@kpghostfox

Description

@kpghostfox

Description

When viewing a protected note (in my case Calendar) from an unprotected session, both the login form and note contents render. After further investigation, it appears that all note types except the ones from Other category are affected by this bug.

How to reproduce?

  1. Create a new note of any type listed below
  2. Create a child note (I've used a text node filled with gibberish)
  3. Protect both notes
  4. Restart Trilium

Example setup:

Image

Expected results:

Only the login form shows

Observed results:

Both the login form and note contents render.

Affected note types

Text

Image

Code

Image

Grid

Image

List

Image

Calendar

Image

Table

Image

Geo Map

Image

Presentation

Image

Board

Image

Text snippet

Image

TriliumNext Version

0.102.1

What operating system are you using?

Other Linux

What is your setup?

Local + server sync

Operating System Version

Linux saturn 6.18.19 #1-NixOS SMP PREEMPT_DYNAMIC Thu Mar 19 15:08:51 UTC 2026 x86_64 GNU/Linux

Error logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    State: TriageIssues that need to be verifiedUIIssues related to user-interface/front-end

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions