Comments (11)
I will talk it over with my team. We are currently down to 3 or 4 projects still using acls. We look to see if it would be best to move to what our other projects are using or update this plugin.
from acl.
I'm happy to attempt this.
The main PHP-8 compatibility issue is
[Deprecated (8192)]: ctype_digit(): Argument of type App\Model\Entity\User will be interpreted as string in the future [in /app/vendor/cakephp/acl/src/Model/Table/AclNodesTable.php, line 60]
which is in src/Model/Table/AclNodesTable.php
caused by
} elseif (is_int($ref) || ctype_digit($ref)) {
I've run the testsuite and there are no tests that cover the ctype_digit
condition. So I'm sure casting $ref
to string will be appropriate.
from acl.
Shouldn't this be closed by now since #173 has already been merged?
from acl.
The ACL plugin has not been updated for PHP8. Any chance you are interested in helping with that?
from acl.
Ah, I see. Tbh I'm not well versed in CakePHP or the ACL plugin. I may give it a shot after I get a little more experience in a week or 2, unless someone beats me to it.
from acl.
Is updating this to use PHP 8 in the works or is this project dead?
from acl.
Is updating this to use PHP 8 in the works or is this project dead?
There is no active work to update this to PHP8. As a community run project it can only really die when people stop contributing :) If you'd like to help improve the PHP8 compatibility I'm happy to do reviews, merge changes and tag releases but I don't have much time to devote to this project beyond that.
from acl.
@scs2771
I think it would not be too difficult to upgrade it; however, I realized that I didn't need to as we use PHP 7.4, not PHP 8.
Additionally, our other sites are using TinyAuth or CakeDC Users plugin instead of Acl.
from acl.
Are there any known issues with PHP 8? I run this plugin on php 8 without any issues so far. Am I missing something?
from acl.
Any news regarding this?
from acl.
PR created for this #173
from acl.
Related Issues (20)
- Are ACL queries cached? HOT 6
- compatibity with 3.6.0 HOT 5
- bin/cake acl fails tasks DbConfig is missing. HOT 3
- On Cakephp 3.6, Acl generating deprecation warning HOT 3
- Users with access to a denied controller HOT 1
- Deprecated Error
- Warning in PermissionsTable with php 7.3 HOT 2
- Remove ou message success tag in function acoUpdate in class AclExtras
- Trying to access protected property in AclExtrasShell.php HOT 2
- Removing Users taking too long Cake Acl HOT 1
- PHP 7.4 deprecation warnings for curly braces in PermissionsTable HOT 2
- Compatibility with PHP 7.4 HOT 1
- Getting "AclNode::node() - Couldn't find Aros node" error when saving associated entities with aliases HOT 2
- Getting "AclNode::node() - Couldn't find Aros node" error when saving associated entities with aliases
- Performance in the Aco and Aro tables HOT 3
- aco_sync not working for prefix HOT 2
- update readme links
- Running ACL Console on Shard Multi-Tenancy HOT 1
- PHP8.2 deprecation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acl.