Setting a frontend URL in the home option of a user blueprint (e.g. home: "{{ site.find('notes').children.first.url }}") leads to a pop-up with an error "You are not allowed to access the panel" if panel: false is set for that user.
Expected behavior
Forwarding a user without panel access to a frontend URL should not lead to an error. This is a precondition to making use of the Kirby core's login flows for frontend-only users.
Description
Setting a frontend URL in the
home
option of a user blueprint (e.g.home: "{{ site.find('notes').children.first.url }}"
) leads to a pop-up with an error "You are not allowed to access the panel" ifpanel: false
is set for that user.Expected behavior
Forwarding a user without panel access to a frontend URL should not lead to an error. This is a precondition to making use of the Kirby core's login flows for frontend-only users.
As discussed in this Discord thread.
To reproduce
panel: false
andhome: "{{ site.find('notes').children.first.url }}"
to theuser/default.yml
blueprintYour setup
Kirby Version
3.6.1
Your system (please complete the following information)
Additional context
Possibly related to #4054 (probably need to be fixed first, before this will work)