mrc
Documentation
michaels, ross &
cole, ltd.
http://www.mrc-productivity.com/
|
|
|
|
Setting up mrc Application
Security (to control user access)
Many times you will want to specify that only a certain group of users can access an application. Perhaps it is a confidential (HR, Payroll, Executive data) application that needs restriction or one that can alter data (such as maintenance applications). Our Menuing System helps (most users won’t access options they don’t know about), but if a user were to stumble upon a page or know the URL, they could still be able to access the application.
But not anymore. Our new security feature, mrc Application Security, now limits who can access what application. The best part of the feature is that it builds upon what you have already done for your Menuing System. (If not, please review the Menuing System documentation here.)
For this document, I will assume you already have a healthy list of Users, Applications, and Roles defined for your Data Dictionary. Next, all you have to do is click the Data Dictionary Tab -> Application Menu and Security -> Manage Application Security.
Click the “Add” button. Specify a Role, Application Type, and Application Number.
Note: The Roles should match the Roles that have pre-defined in the Menuing System.
When completed, your screen may look something like this:

In the mean time, we have created some new objects on your IFS, including MrcAppSecurity.java and MrcAppSecurity.class. Although these files have been built in, they are fully customizable. If you would like to customize your security to work in combination with your own JAVA or RPG code, you are able to fully modify the MrcAppSecurity.java object. If you decide to do this, make sure you compile this JAVA object.
Lastly, while everything has been put in place, you must implement the Application Security. Once you do this, the only applications that will be accessible are the ones listed in the table above. To implement, simply click the “Enable Application Security” from the Data Dictionary Tab -> “Application and Security Menu” link.

At runtime, if an application is included in the list above, ONLY the users assigned to the specific role will be able to access the given application.
If a user is not assigned, the application can not, and will not, display output to the user.
Other important information
to consider: