Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controlling Access
Message
From
03/10/2001 06:23:00
 
 
To
03/10/2001 06:12:13
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00563480
Message ID:
00563481
Views:
15
Hi!

To organize sequrity, you can just add a SKIP FOR condition to each menu item. In that condition you just call a function with menu item ID or name, the function checks if that menu item is available for user and return .T. if not to disable menu item.

Anyway,
What you meant: user controls access rights, or administrator controls access rights for users?
I have some experiense, but that was quite a complex system with menu built using information in a table that user can adjust (rearrange menu items in trre so they uppear in different submenus). there was also a sequrity table linked to this table that described which items user can see at all, and which items are enabled for user. Menu built on the fly and managed also by form class (this allw as a part of our framework).

I doubt you will make something like that but...


>Hi
>
>Has anyone managed to write anything that allows users of an application to control menu-access rights ?
>
>Thanks
>Kev
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform