[drupal-devel] [feature] Enabling access control on selfmade blocks for menu.module

Bèr Kessels drupal-devel at drupal.org
Wed Aug 31 07:32:55 UTC 2005


Issue status update for 
http://drupal.org/node/30054
Post a follow up: 
http://drupal.org/project/comments/add/30054

 Project:      Drupal
 Version:      4.6.3
 Component:    menu system
 Category:     feature requests
 Priority:     normal
 Assigned to:  damnsure
 Reported by:  damnsure
 Updated by:   Bèr Kessels
 Status:       patch (code needs review)

In the blocks admin you can add PHP. So you can set this there too. I
dislike the idea of making an exeptional rule for navigation block.
Also, your spaces in the code ar esomewhat strange. PLease use two
spaces for identation




Bèr Kessels



Previous comments:
------------------------------------------------------------------------

Tue, 30 Aug 2005 22:17:19 +0000 : damnsure

Attachment: http://drupal.org/files/issues/menu.module_1.patch (957 bytes)

As I'm somehow new to drupal and not 100% sure if I'm doing the right
thing please be indulgent. I wrote a patch to enable access control on
selfmade blocks for menu.module.


Till now it was possible to set blocks to certain pages but not
depending on user roles. With this patch you will have an entry for
each selfmade block under "access control -> menu modul", each starting
with "show".







More information about the drupal-devel mailing list