I did not understood your Q fully. But I hope this is what you are looking
for.

About 7 years a go I did the same for a client server application. Hope This
could work for you.

*. I had a menu table . Which lists down all the menu items and there parent
items
*. Then I had User table. and user group table.
*. I had one table which creates user access templates for a given user
group. (UserGroupID, MenuID As primary key)
*. Then I had a user listed under UserGroup. Which build the relationship
between the Menu, And the user.
*. The Operations, such as Add, delete, modify for Each menu option. (where
availble) is considerd a special type of A menu.
*. The Menu table is built to support hirearchicle implementation. (in
Facthere Are 2 tables First table building The menu options. (menuID primary
Key)  and the second table listing all the children of menu a menu Item.
(MenuID(Parent) and MenuID (child) is The Primary key.) 

This is taking care of the "Role level"  controle. Context level controle I
believe is more of a program level thingy. 

regards


Kuminda Chandimith
Sr. Technical Consultant
Ducont.com FZ-LLC
Tel:  + 971-4-3913000 Ext 237
Fax: +971-4-3913001
http://www.ducont.com



-----Original Message-----
From: Michael Gerholdt [mailto:[EMAIL PROTECTED]]
Sent: 14 August 2002 00:41
To: ActiveServerPages
Subject: logical menu help


I want to build a tree menu that will be role-based / context-based

That is, role-based takes precedence, context-based is secondary

So if for example a faculty member is on a given page, the menu will be
different than if a student is on the same page, but there will still be
response to the fact that the user is on the page.

I want to create a database table that will hold the relationships and then
pull it off into xml. Can't use the structure of the website as a key for
structure of the menu - need to build a logical menu that is not
directory-based as well as not based on database structure at all.

Is this a fruitful direction or am I asking for trouble? Any examples of
similar projects I could take a look at?

we are doing some migration and _could_ move into .NET at this juncture ....

thanks,
Mike


---
You are currently subscribed to activeserverpages as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
%%email.unsub%%

---
You are currently subscribed to activeserverpages as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to