Following the update to 2.0.3, the error message ("You tried to delete the homepage, but you do not have the permission to do so.") is triggered for anonymous visitors on the first visit after every cache clear.

CommentFileSizeAuthor
#3 Welcome! _ Drupal Contribution.mp42.02 MBprabuela
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

sclsweb created an issue. See original summary.

prabuela’s picture

Assigned: Unassigned » prabuela
prabuela’s picture

Assigned: prabuela » Unassigned
StatusFileSize
new2.02 MB

Hi @sclsweb

I was not able to reproduce the issue.
Drupal Version:10.3

PHP: 8.2

JoshaHubbers made their first commit to this issue’s fork.

joshahubbers’s picture

@PrabuEla
You did not set a front page, the whole purpose of this module. So you never came to the check.

I added a fix for the issue so the message is
* not shown for anonymous users
* only shown at the */delete url or if the action "node_delete_action" is present

  • JoshaHubbers committed 59abc095 on 8.x-1.x-dev
    Issue #3457475 by JoshaHubbers, sclsweb: Message shown to anonymous...
joshahubbers’s picture

Status: Active » Fixed
joshahubbers’s picture

@sclsweb: I created a new release with this fix.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.