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.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | nodeblock-HEAD_node_save_message.patch | 1.12 KB | dboulet |
| #1 | 577254.patch | 776 bytes | roychri |
Comments
Comment #1
roychri commentedHere is my proposed patch.
Comment #2
tom_o_t commentedSeems like a good idea to me, I agree that the message shouldn't show if the user doesn't have permission to administer blocks.
Comment #3
dboulet commentedNew patch fixes one small codestyle issue, plus moves the message into the 'insert' case, so that it's only displayed when a node is created.
Comment #4
Shven commentedissue still persists in v7.x.-1.2
Comment #5
Johnny vd Laar commentedI will only do feature request for d7. D6 is in maintenance only.
Comment #6
Johnny vd Laar commentedCommitted a fix: http://drupalcode.org/project/nodeblock.git/commit/2b3824b