Currently, the code spits out a 404 when trying to access a blocked user's guestbook. This behavior differs from Drupal core, as users with the 'administer users' permission are still allowed to view a blocked users profile. Guestbook should follow this behavior, since 'administer users' is a pretty strong permission.

It is also required for adding Panels support, which is quite easy when we're reusing guestbook_page(). In that case, however, guestbook_page() shouldn't call dnf(), because context handling will be managed by Panels.

CommentFileSizeAuthor
guestbook-admin-access.patch1.11 KBsmk-ka

Comments

sun’s picture

Status: Needs review » Fixed

Committed a slightly modified version of this patch to all branches.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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