diff --git a/CHANGELOG.md b/CHANGELOG.md index 7078293..ad068d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Release Notes for Isolate +## 2.1.1 - 2024-02-20 + +### Fixed +- Fixes the permission syntax required for granting users Isolate permissions + ## 2.1.0 - 2022-11-10 ### Fixed diff --git a/composer.json b/composer.json index a5e169e..37da08a 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "trendyminds/isolate", "description": "Restrict your Craft CMS users on a per-entry basis", "type": "craft-plugin", - "version": "2.1.0", + "version": "2.1.1", "keywords": [ "permissions", "entry permission", diff --git a/src/Isolate.php b/src/Isolate.php index f68158f..228bcda 100644 --- a/src/Isolate.php +++ b/src/Isolate.php @@ -110,7 +110,9 @@ function(RegisterUserPermissionsEvent $event) { $event->permissions["Isolate"] = [ 'heading' => 'Isolate', 'permissions' => [ - ['label' => 'Assign permissions'], + 'isolate:assign' => [ + 'label' => 'Assign Entries' + ], ], ]; }