Defining an Authorization Rule

Prerequisites

You have:

  • Protected the required business object

  • Identified the property for which you want to define a rule

Context

You use this procedure to define an authorization rule for a property of a protected business object. This authorization rule imposes a condition on business data related to the business object property.

Procedure

  1. In the navigation bar, choose Start of the navigation pathBusiness Object Authorization Next navigation step Define Authorization RulesEnd of the navigation path.

    The Business Objects tile displays the protected business objects. A tree browser displays higher-level objects as nodes. You can expand a node to view the corresponding names of the relationships with lower-level business objects.

  2. Select a business object.
  3. Select the required property for which you want to define a rule.
  4. Choose Assign.

    The Assigned Authorization Rules tile displays a row with default details of the new rule.

  5. Enter necessary data for the rule.
  6. Choose Start of the navigation pathData Next navigation step SaveEnd of the navigation path.

Results

You have defined an authorization rule for the property of a protected BO. To use this rule in the mobile client application during runtime, you must:

  • Assign the rule to a token that has been defined for the same BO. For example, if you define a rule for a property of the BOATTACHMENT business object, then you must assign this rule only to the token defined for the same BO. For more information, see Defining an Authorization Token.

  • Provide required values for the rule while assigning the token to an authorization role. For more information, see Assigning an Authorization Token to an Authorization Role