Thanks, but I'll try Rick Schummer's solution.
Rafael
----- Original Message -----
From: "Michael Madigan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 14, 2006 2:49 PM
Subject: Re: custom menus
It depends whether you want the user to see other "greyed out" functions
or not.
What I do is put code in each menu item. If a user has permission, it is
enabled, if not, it is
disabled.
Another approach would be to run them menu associated with the permission.
IF supervisor, do
supervisor.mpr, if user, do user.mpr.
I like the first approach better.
--- Rafael Copquin <[EMAIL PROTECTED]> wrote:
I am trying to develop a menu system geared to the user.
IOW, user A logs in and his/her particular menu appears, which is
different
from user B's menu. This is related to permissions in the menu items.
That
is, for instance, if I have a payroll function in the menu and want one
user
to have full access to all items in the menu, while other users have
limited
access, I just want to develop special menus for each.
My idea is to put all pads, popups and menu bars in a table and have
another
one with users like this:
Menu prompt
supervisor
clerk A clerk B
Payroll
x
x
Employees x
x
Employee personal data x
x
Employee salaries data x
etc
In the above example, the supervisor has full access while clerk A can
only
see all data except salaries and clerk B has no access to the payroll
function at all.
Is there anything done along these lines, so I won't have to spend time
"re-inventing the wheel" ?
Can you share ideas, or code or classes or whatever?
TIA
Rafael Copquin
www.copquin.com.ar
Universal Thread Magazine - Translation Coordinator
Treasurer - Microsoft Users Group of Argentina (MUG)
www.mug.org.ar
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.