Skip to main content

Restricted search overview

Search restriction uses an attribute called Restriction Source Attribute (RSA). The RSA is the organization-level setting that identifies which custom user attribute holds the values a user is allowed to search against. You can set the RSA separately for each item type such as conversation, transcript, evaluation, and work item. If no RSA is set for an item type, search for that item type works without any restriction.

When a user searches for a conversation, search restriction limits the conversations that users can find in a search by comparing the values on each user’s profile with the customer access attributes on conversations. Restricted conversations are removed before results are returned. Search restriction applies to the , conversation search, content search, and quality management evaluation search and query.

When a user runs a search on restricted artifacts such as conversations, Genesys Cloud performs the following:

  1. Identifies the custom user attribute that is configured as the RSA.
  2. Reads the user’s values from that attribute.
  3. Adds a restriction to the search query so that only matching conversations can be retrieved.

Because the restriction is applied when the query is built, unauthorized conversations are not retrieved and filtered afterward. Restricted conversations do not appear in results, result counts, sorting, or relevance ranking. Changes to a user’s values apply to that user’s next search.

Matching is exact, and a conversation is returned only if the user has every customer access attribute value on that conversation. For example, a user whose attribute contains GermanWealth and SwissBanking can find a conversation tagged GermanWealth. The same user cannot find a conversation tagged GermanWealth and SensHigh, because the user does not have SensHigh. Extra values on the user’s profile do not affect the result.

Conversations that have no customer access attribute are also returned, so that existing searches continue to work. A user whose attribute contains All is not restricted by customer access attribute values and can find all conversations. The value All is not case-sensitive. A user who has no values in the attribute can find only conversations that have no customer access attribute.

Search does not combine separate values with AND logic. To restrict search on a combination of attributes, represent the combination as a single value, such as LegalEntity:001|ClientCategory:Wealth, and use that same value in the user’s attribute and on the conversation. Use the same delimiter, order, and casing in both places.

Search restriction works together with existing role and division permissions. It does not grant access that a user’s roles and divisions do not already allow. It is also separate from ABAC policies, which control access to a conversation after it is requested.

Search restriction applies to searches made by signed-in users. Requests made with client credentials do not use the RSA. Their search access is governed by the OAuth client’s permissions and divisions. Aggregate views, such as Performance views and survey aggregate reporting, are not restricted.

You can create, read, update, and delete the RSA through the API. In the API, the RSA is called the default search criteria. For more information, see the Authorization section in for the requests (/api/v2/authorization/customattributes/itemtypes/{itemType}). To create or update the RSA, specify the schema name and attribute name of the custom user attribute. The attribute must be a string or a list of strings. To manage the RSA, you need the following permissions: Authorization > Default Search Criteria – Add, View, and Delete.

Search experiences that are restricted

Search restriction applies to the following in-scope experiences:

  • Interactions view and conversation search, where users search or filter interactions by metadata such as date, queue, user, ANI/DNIS, media type, wrap-up, division, external contact, or conversation ID. Unauthorized interactions are not returned as blank, partial, or masked rows.
  • Content search and transcript search, where users search transcripts by word or phrase.
  • search and query.

Search experiences that are not listed above continue to use their existing access controls for users. Aggregate performance views and survey aggregate reporting are not subject to search restriction.

How matching works

Search restriction uses exact matching with Contains All logic.

  • Exact match – values are compared as exact strings. Partial, fuzzy, similar, and derived matches are not supported. For example, GermanWealth does not match German, Wealth, or GermanWealthManagement.
  • Contains All – if a conversation has more than one customer access attribute value, the conversation is returned only when the user’s RSA values include every one of them. The user can hold additional values that the conversation does not require.

Special cases

SituationBehavior
The user has the value ALL in the RSA attribute.The user is not restricted by customer access attribute values. Existing permissions and division access still apply.
The conversation has no customer access attribute.The conversation is returned by default, subject to existing permissions and division access. No special RSA value is needed.
Note: Search restriction adds Customer Access Attribute scoping to existing controls. It does not replace roles and divisions.

Examples

Search restriction compared with ABAC policies

Search restrictionABAC policy
What it controlsWhich conversations a user can findWhether a user can access a protected resource
When it is appliedWhen the search query is builtWhen the resource is requested
How it evaluatesExact match against RSA valuesPolicy conditions, including AND and OR logic

The two work together. A user can be allowed to find a conversation and still be denied access to its recording by an ABAC policy.

Considerations

  • Search restriction applies to requests made in the context of a user. OAuth clients that use the client credentials grant do not carry a user or custom user attributes, so the RSA is not used for them. Their search access continues to follow the client’s permissions and divisions.
  • If your organization has not configured an RSA, search behavior does not change.