From a990a4c6588731cc2e278a64efad2f38554fee03 Mon Sep 17 00:00:00 2001 From: Kevin Pfeifer Date: Mon, 2 Oct 2023 18:43:33 -0700 Subject: [PATCH 1/3] add notice about EOL --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index a304ee70..c51a24c0 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,10 @@ [![Coverage Status](https://img.shields.io/codecov/c/github/cakephp/acl.svg?style=flat-square)](https://codecov.io/github/cakephp/acl) [![License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.txt) +> ℹ️ **The ACL Plugin is not actively maintained by the CakePHP core team.** ℹ️ PR's to fix problems or add features are welcome. +> +> As a modern alternative please check out the [Authentication](https://github.com/cakephp/authentication) and [Authorization](https://github.com/cakephp/authorization) plugins. + A plugin for managing ACL in CakePHP applications. ## Installing via composer From d57ec39ee9ac74e9ad5fd0cb5c0c291198ff8303 Mon Sep 17 00:00:00 2001 From: Kevin Pfeifer Date: Mon, 2 Oct 2023 18:52:11 -0700 Subject: [PATCH 2/3] adjust Readme Co-authored-by: othercorey --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c51a24c0..7bb5d9ea 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Coverage Status](https://img.shields.io/codecov/c/github/cakephp/acl.svg?style=flat-square)](https://codecov.io/github/cakephp/acl) [![License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.txt) -> ℹ️ **The ACL Plugin is not actively maintained by the CakePHP core team.** ℹ️ PR's to fix problems or add features are welcome. +> ℹ️ **The ACL Plugin is not actively maintained by the CakePHP core team.** ℹ️ PR's to fix problems are welcome. > > As a modern alternative please check out the [Authentication](https://github.com/cakephp/authentication) and [Authorization](https://github.com/cakephp/authorization) plugins. From 35bfb862de0b6542d4bc48901fb75bbd10f9a19e Mon Sep 17 00:00:00 2001 From: Luiz Henrique Date: Mon, 1 Apr 2024 13:33:02 -0300 Subject: [PATCH 3/3] Update DbAcl.php - Changed objects from private to protected To solve the issue when using CachedDB adapter. --- src/Adapter/DbAcl.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Adapter/DbAcl.php b/src/Adapter/DbAcl.php index af642231..a8476782 100644 --- a/src/Adapter/DbAcl.php +++ b/src/Adapter/DbAcl.php @@ -43,9 +43,9 @@ */ class DbAcl implements AclInterface { - private PermissionsTable $Permission; - private ArosTable $Aro; - private AcosTable $Aco; + protected PermissionsTable $Permission; + protected ArosTable $Aro; + protected AcosTable $Aco; /** * Constructor