Search by

sunrice / content-restriction

littleboy130491

Members-only content for Sunrice CMS: restrict collections, taxonomies, entries and terms to signed-in accounts or some roles, and choose what visitors who may not open them get.

v0.1.0 2026-11-21 12:21 UTC

This package is auto-updated.

Last update: 2026-11-27 01:50:14 UTC


README

Members-only content for Sunrice CMS, built on sunrice/account:

  • Settings → Restricted content: the collections and taxonomies whose pages only signed-in accounts open, the roles that may open them, and what other visitors get (the sign-in page and back, a page of the site, or a message).
  • An Access card in the entry and term editors, so each entry or term can differ.
  • Restricted entries are left out of lists, search, menus and the sitemap for visitors who can't open them, or kept as teasers.
  • An overridable Blade view for the message.
composer require sunrice/content-restriction
php artisan migrate
$panel->plugin(CmsPlugin::make())->plugin(AccountPlugin::make())->plugin(ContentRestrictionPlugin::make());

See docs/index.md.