Re: dynamic menu problem




"Marty" <bmadmarty@xxxxxxxxxxx> wrote in message
news:1118955834.816884.312470@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Im trying to achive a menu that is loaded from database depending on
> who is logged in.
>
> If user1 logs in he/she only gets a basic set of menus where admin logs
> in and gets a whole lot of items.

In this case its much simpler to create the entire menu tree at design-time.
When a user logs in, walk the menu tree and set Visible & Enabled False (or
True, depending on initial states) for all entries to which they have no
access.


.



Relevant Pages

  • Re: North American wood
    ... I'm sure the principles of supply and demand play a part--regular ... My buddy with whom I used to do most of that tree work is ... sorting and grading logs for the mills. ...
    (rec.woodworking)
  • [RFC] log comparison, build regressions and remapping
    ... some noise in the diff, but surely it will be easy to recognize and ignore. ... If you do such comparison of build logs on ... where the lines of old tree have gone in the new one. ... To generate a map: ...
    (Linux-Kernel)
  • Re: Deforestation a real problem that cowards shy away from.
    ... Liar. ... Note "third layer of logs". ... was about to cut down a tree to lay a third layer of logs on my little ...
    (alt.mountain-bike)
  • Re: Builder gets into wood sourcing
    ... After bucking, hauling and stacking a bunch of nice wood, ... $200 for the tree experts to haul 3 of the trees to my house. ... the ends, saw the wood, transport the logs to where they're going to ...
    (rec.music.makers.guitar.acoustic)
  • Re: killfile notice ha Hanson
    ... Im cleaning the forest and adust the dencity to maintain moss. ... cause water to condence on te lower part of the tree and the tree drinks ... because they are ship to shore logs. ... It cant cost $ 40 to get the log into the mill. ...
    (sci.physics)