Creating an Authorization Scenario

Authorization scenarios help you control data access for business entities leveraging data access controls.

Context

Authorization scenarios help you filter the data available to specific business entities and their subsets based on existing data access controls.

For example, a manager wants to access their employees' data. They only should see employees from their team. An authorization scenario can help them make sure they only see data that is relevant to the team they manage.

Procedure

  1. Go to the Business Builder and select New Authorization Scenario.
  2. Select a data access control. Make sure to select a deployed data access control to have access to data preview.
  3. Click Create.
  4. [optional] Select the package to which the object belongs.
    Packages are used to group related objects in order to facilitate their transport between tenants. For more information, see Creating Packages to Export.
  5. Go to the Data Restrictions tab and click Data Restrictions.
  6. Select a Business Entity.
  7. You have access to the business entity's key definitions. It gives you access to key members. For each business entity used as data restriction, you need to map each key member to the data access control's criteria column.
    To learn more about defining keys for a business entity, see Define a Key.
  8. Click Save to save your authorization scenario.
    You can define several restrictions on several business entities within the same authorization scenario.

Results

Your new authorization scenario is ready to use. You can add as many Data Restrictions as you need within your authorization scenario.

Data Preview helps you make sure that the authorization scenario works. You can see the business entity's keys used as data restrictions and the data allowed by the underlying data access control that is relevant to the user.