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.
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
a person
an object and a 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.
*For information on the macro, see HOPEX Power Studio > Using APIs: Optimizing the macro of a dynamic data access rule.
To create a permission rule:
1. From the HOPEX 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. In 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.
Associating a permission rule with a profile
*To associate a dynamic permission rule to an object, you must have rights to modify HOPEX data, see "Authorizing HOPEX Data Modification", page 73.
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 want 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 HOPEX data, see "Authorizing HOPEX Data Modification", page 73.
To associate a permission rule with an object:
1. Open object properties.
Example: "Risk" MetaClass
2. Select the Data Access tab.
3. In the Data Access Rule frame, click Connect and select the rule you want to associate with the object.