com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.

Filtering Content to Specific User Roles

Using the Data Services Server, you can control access to sensitive data for specific user roles. This facility is called Role-based content filtering. It filters data where specific data sections are only accessible by a given type of users.

Follow the steps below to filter a data service according to a specific user role.

  1. Log on to the management console and select  Services > List under the Main menu. 
  2. The Deployed Services window appears, which lists out all the currently active services and service groups. Click the data service you want to edit to open its dashboard. 
  3. In the dashboard, click the Edit Data Service link.

    You can directly edit the XML file or use the management console. We use the latter in this example.

     
  4. Navigate to the Queries page of the data service, select the query you want to edit and Edit Query. 
  5. In the Output Mappings section of the query, edit the field that needs to be filtered and tick the appropriate user role in the Allowed User Roles section. 
  6. Once all the required roles are set, the result entries of the Edit Query page look as follows in this example: 
  7. Save the changes.
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.