Skip to Content
Blackbell for builders
Guides

Choose who sees a page, version, block or part

Load when restricting page or form access, showing different content at one URL, or reviewing hidden and audience versions.

Use the smallest rule that fits. Use the label, group, any, all and exclusion keys in customers.

NeedToolTakes effect
Restrict a page or formset_page_access or set_form_accessImmediately
Show different content at the same linkset_version_audienceImmediately
Restrict one blockset_block_audienceAt go live
Restrict or date-limit a free-page elementset_part_audience with selector, or data-bb-show in HTMLAt go live
Restrict or date-limit one block text, image or buttonset_part_audience with keyAt go live

Build and check the views

  1. Create each hidden version with start_edit_session (new: true, name) and edit its copy. Staff can also make named versions in the editor. Use list_hidden_versions to find them. Go live only with the version the person named.
  2. Read get_page_access for the CMS Manage Access view in one call. It gives status, access in words and count, the closed view, first-match audience versions and counts, staff-only hidden versions, and rules/counts for blocks and parts. Use version_id for that version’s blocks. Check view_page_as for each audience. Pass as (signed_out, label:, group:, customer:) and device (app or web) to see public, version or locked and why. A customer id gives the step-by-step check and, for signed-in staff, open_as_link. Show counts. Request list_hidden_versions with cards: true for version/public counts only when asked.

Combine words in one data-bb-show value to require every condition. Hidden blocks and parts are removed on the server before reaching the phone.

data-bb-show="labels:1,2"
data-bb-show="labels-all:1,2"
data-bb-show="not-labels:3"
data-bb-show="groups:4"
data-bb-show="groups-all:4,5 not-groups:6"
data-bb-show="signed-in"
data-bb-show="signed-out"
data-bb-show="app"
data-bb-show="web"
data-bb-show="show-from:2026-12-01T09:00:00Z hide-from:2026-12-24T18:00:00Z"

Review versions after public changes

Delete a version with discard_edit_session and recover it within 24 hours with restore_hidden_version. Use the CMS for group versions in the editor sidebar and the site’s “Try as a user” bar.

On this page