I am currently experimenting with enabling and disabling menu options programmatically to limit what options are available to users based on which service level of software they have (standard or deluxe) and which individual permissions they have enabled.
I have figured out how to change which menu bar is displayed based on the service level. I have also tried using code from thread181-77029 to disable functions which are not active based on service level. This works quite well.
My dilemma is around the user-level security permissions. I can check the permissions at start-up and enable or disable accordingly, but I'm not sure how to handle it if their permissions change while using the database.
If an option is enable when it shouldn't be, that is not much of a problem. My forms and reports verify that the user has permission to use them during the OnOpen events. I am mostly concerned with users who are granted permission to do thing, but have the menu options still diabled.
Because I am still experimenting, I am open to any suggestions or comments you may have on this. I appreciate any input I can get.
Thank you.
I have figured out how to change which menu bar is displayed based on the service level. I have also tried using code from thread181-77029 to disable functions which are not active based on service level. This works quite well.
My dilemma is around the user-level security permissions. I can check the permissions at start-up and enable or disable accordingly, but I'm not sure how to handle it if their permissions change while using the database.
If an option is enable when it shouldn't be, that is not much of a problem. My forms and reports verify that the user has permission to use them during the OnOpen events. I am mostly concerned with users who are granted permission to do thing, but have the menu options still diabled.
Because I am still experimenting, I am open to any suggestions or comments you may have on this. I appreciate any input I can get.
Thank you.