[development] modify permissions using hook_menu_alter()
nan_wich at bellsouth.net
Tue Apr 28 20:39:15 UTC 2009
Chx, I did not, and will not, accuse anyone of sneaking things into core.
For the function that started this thread, I have already done something
similar and it works fine. BTW, hook_menu_alter is called while the router
table is being rebuilt, so it need not be rebuilt.
In my other thread, it was something totally new to me, but fashioned on
something that someone else had done in D5. I started out doing it the
"right" way and it would have worked except for a detail I never could
envision in your original plans for menu (which I vaguely remember now).
When I stumbled upon it, yes, it upset me. I sort of understand why it was
done and I have submitted a patch to try to make it work more like what I
think makes more sense (to me).
No one is perfect, and I suspect that you had not envisioned the problem I
ran into. That's okay. I accept that part of the blame is mine for not
providing input at design time. As I mature in Drupal, I hope to be more
helpful before a release hits the streets. I also hope that I will be less
surprised after they do. We can only hope that everyone does the same.
Nancy E. Wichmann, PMP
Injustice anywhere is a threat to justice everywhere. - Martin L. King, Jr.
-------------- next part --------------
No virus found in this outgoing message.
Checked by AVG - http://www.avg.com
Version: 8.0.176 / Virus Database: 270.12.6/2084 - Release Date: 4/28/2009 6:15 AM
More information about the development