Do not display links to unaccessible pages.

roychri - September 14, 2009 - 18:54
Project:Node Blocks
Version:6.x-1.2
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:needs review
Description

The message about administering block should not appear when you are not allowed to administer blocks.

I am talking about this message:

The block you just created is now available on the block configuration page.

This message appear when I finished editing/creating a node that is configured to work with nodeblock.
If I do not have the permission to administer the blocks, I should not see this message.

#1

roychri - September 14, 2009 - 18:55
Status:active» needs review

Here is my proposed patch.

AttachmentSize
577254.patch 776 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.