From 84fe59402d6cbfd1577bed26bdbf9e3854417896 Mon Sep 17 00:00:00 2001 From: doefom Date: Thu, 30 May 2024 15:36:07 +0200 Subject: [PATCH] Update README.md --- README.md | 5 ++--- composer.json | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dd7fbee..30674c4 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,6 @@ # Restrict -> A Statamic addon that lets you define which entries should be listable to whom in the control panel by defining custom -> restriction logic. +> A Statamic addon that applies your EntryPolicy's `view` method to entry listings in the control panel. - ✅ Statamic v4 - ✅ Statamic v5 @@ -12,7 +11,7 @@ ## Features -Prevent entries from showing up in the control panel based on the restrictions you define. +Prevent entries from showing up in the control panel based on the `EntryPolicy` you define. ## Upgrade Guide diff --git a/composer.json b/composer.json index 015aded..8ce267d 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "doefom/restrict", - "description": "A Statamic addon that lets you define which entries should be listable to whom in the control panel by defining custom restriction logic.", + "description": "A Statamic addon that applies your EntryPolicy's `view` method to entry listings in the control panel.", "autoload": { "psr-4": { "Doefom\\Restrict\\": "src"