Download & Extend

Access control (Permission) is not checked for the nodes themself.

Project:Node Blocks
Version:6.x-1.2
Component:Code
Category:bug report
Priority:normal
Assigned:tom_o_t
Status:closed (fixed)

Issue Summary

I created a site where only the authenticated users could see the content of the nodes.
Using the nodeblock module I saw that anonymous users could still see the content of the block and node.

So this means that this module does not verify that the current user have permission to see the content of the node.

Steps to reproduce:

  1. create a new content type and configure it to be a nodeblock type.
  2. Create a new node from that content type
  3. Assign your node to a region (using the admin/build/block page)
  4. change the permissions so that only authenticated users can access content.
  5. Logout
  6. Expected Behavior: Not able to see the node you created

Comments

#1

Status:active» needs review

Here is my proposed patch.

AttachmentSize
577234.patch 551 bytes

#2

Assigned to:Anonymous» tom_o_t

I can reproduce this. I'll check with Roger, but most likely will roll this patch next time I'm working on the module.

#3

Status:needs review» patch (to be ported)

#4

Status:patch (to be ported)» fixed

Committed. Should be in head in next few hours.

#5

Status:fixed» closed (fixed)

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

nobody click here