Skip to content

Commit 8e18f5e

Browse files
committed
Merge branch 'update/1.4.0'
2 parents 2f00d6c + 7ed4577 commit 8e18f5e

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Release Notes for Isolate
22

3+
## 1.4.0 - 2020-10-13
4+
5+
### Changed
6+
- Isolate permissions now follow Craft's convention to correct issues with multi-site and non-English languages. ([#21](https://github.com/trendyminds/isolate/pull/21))
7+
38
## 1.3.1 - 2020-06-10
49

510
### Fixed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "trendyminds/isolate",
33
"description": "Restrict your Craft CMS users on a per-entry basis",
44
"type": "craft-plugin",
5-
"version": "1.3.1",
5+
"version": "1.4.0",
66
"keywords": [
77
"permissions",
88
"entry permission",

src/Isolate.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function (Event $event) {
107107
UserPermissions::class,
108108
UserPermissions::EVENT_REGISTER_PERMISSIONS,
109109
function(RegisterUserPermissionsEvent $event) {
110-
$event->permissions["General"]["accessCp"]["nested"]["accessPlugin-isolate"]["nested"] = [
110+
$event->permissions["Isolate"] = [
111111
'isolate:assign' => [
112112
'label' => 'Assign permissions',
113113
],

0 commit comments

Comments
 (0)