Releases: tattersoftware/codeigniter4-permits
Release list
Version 3 RC 2
Switches to CodeIgniter Dev Kit and applies typed properties.
What's Changed
Full Changelog: v3.0.0-rc.1...v3.0.0-rc.2
Version 3 Release Candidate 1
This is a complete refactor of the backend code with the goal of removing duplicate functionality that is better provided by other libraries. The core functionality of model methods "mayVerb()" is maintained.
Please read the Upgrade Guide for help migrating between major versions.
What's Changed
Full Changelog: v2.1.7...v3.0.0-rc.1
Coding Standard
Fix Cache Keys
Changs the cache key to stop using invalid characters.
Bugfix
Builder Workaround
Applies a workaround to fix an issue where the incorrect builder could be used during permissions lookup.
User Create
Fixes a bug where user write access (e.g. 00700) would not allow a user to create a file because the domain was not writable.
Bugfix
Trait mode access
Adds setter and getter to PermitsTrait to assist with testing and on-the-fly mode access.
Recode
Major code clean-up, removes some unnecessary dependencies and adds a lot more consistency.
- Applies PHPStan for static code analysis
- Applies Code Sniffer and PHP-CS-Fixer for styling
- Updates testing to use framework improvements
- Adds GitHub Action workflows for testing and analysis
- Adds Dependabot
Note: the internal Service parameters have changed. In the unlikely event that you were accessing them directly you may need to change your parameters.