Examples

Index Only Specified Namespace

Data visibility is controlled with the standard access control facility. The Discovery indexes everything it currently has access to. To control data visibility, configure access control rules for the role assigned to the Discovery indexer user.

In this example we will configure Corteza Discovery to only index records from the discovery namespace.

Click on the permissions button to open up global namespace access control rules.

Annotated image

Select the authenticated role and set the read any namespace rule to deny. Alternatively, you can set the same rule to deny for the Discovery indexer role.

Annotated image

Next, click on the edit button for the namespace you wish to allow access to and click on the permissions button to open up access control rules for the given namespace.

Annotated image

Select the discoverer role (the role assigned to the Discovery indexer user) and set the read namespace rule to allow.

Annotated image

After the Discovery indexer reindexes your instance, the search results become limited to the discovery namespace for which we allowed access to.

The Discovery indexer must finish it’s re-indexing in order for the changes to take affect.

Annotated image