Broadleaf Microservices
  • v1.0.0-latest-prod

Catalog Access Policies

Tip
Introduced in Catalog Service 2.1.0

Data Model

Catalog Access Policy Data Model
Figure 1. Catalog Access Policy Data Model

Catalog Access Policy

A Catalog Access Policy restricts the visibility of targeted content based on a set of rules.

BLC_CATALOG_ACCESS_POLICY

Field Description

ID

Unique row ID

NAME

A friendly identifier for the catalog access policy.

ACTIVE_START_DATE

Start date the catalog access policy is active.

ACTIVE_END_DATE

End date the catalog access policy is active.

FILTER_RULES

Filters that should be applied to catalog requests to retrieve products. This is only used when the TARGET_TYPE is PRODUCT.

TARGET_TYPE

The target type denoting how to restrict this catalog access policy. This may be CATALOG or PRODUCT

TARGET_CATALOG_IDS

The ids of the catalogs that this catalog access policy applies to. This is only used when the TARGET_TYPE is CATALOG.

MATCH_RULE

Match rule to evaluate against a context object containing user and request data. This rule is a SpEL expression.