MEGA Administration : Administrator Guide : Managing objects : Managing UI Access (Permissions) : Managing Data Access Dynamically
   
Managing Data Access Dynamically
Writing and reading access diagrams define data access statically. A person sees objects belonging to his/her reading access area, and can modify objects belonging to his/her writing access area.
*See "Managing Data Writing Access", page 297, "Managing Data Reading Access", page 321.
You can define dynamic rules for reading or writing data access.
Dynamic rule:
defines for a person, his/her reading or writing access rights on a given object
can be based on characteristics of:
an object
of a person
an object or person
can be associated with one or several profiles
Creating permission rules
A permission rule is defined by a macro. A permission rule can define reading or writing access rights to an object.
To create a permission rule:
1. From the MEGA explorer, click Create .
2. Select Data Access Rule and click OK.
3. In the Creation of Data Access Rule dialog box, enter a Name for the rule and click OK.
4. Access properties of the rule.
5. From the Characteristics tab, in the Macro field, click the arrow and connect the macro.
6. In the Data Access Type field, select the data access type (Reading or Writing).
In the User Profile frame, if no profile is connected to the rule, the rule applies to all profiles.
*See "Associating a permission rule with a profile".
Associating a permission rule with a profile
*To associate a dynamic permission rule to an object, you must have rights to modify MEGA data, see "Authorizing MEGA Data Modification", page 78.
To associate a permission rule with a profile:
1. Open permission rule properties.
Example: "Action Plan - Writing"
2. Click the Characteristics tab.
3. In the User Profile frame, click Connect and select the profile with which you wish to associate the permission rule.
Associating a permission rule with an object
*To associate a dynamic permission rule to an object, you must have rights to modify MEGA data, see "Authorizing MEGA Data Modification", page 78.
To associate a permission rule with an object:
1. Open object properties.
Example: MetaClass "Risk"
2. Select the Data Access tab.
3. In the Data Access Rule frame, click Connect and select the rule you wish to associate with the object.