1.10.0
Improvements
hasAccess()
so far only included ACL data. Those links and access checks are meant to be used for logged in users.
It now can include also "allow" authentication-skipping data (publicly accessible actions), if includeAuthentication
is set to true.
But this only checks/uses the INI config, it can not work on controller authentication. So make sure
you transformed everything fully to the INI file here. Any custom ->allow()
call in controllers
can not be taken into account.
For this to work some of the (wrongly shared) configs had to be changed (while trying to keep BC):
ACL config:
cacheKey
is nowaclCacheKey
file
is nowaclFile
filePath
is nowaclFilePath
Authentication config:
cacheKey
is nowallowCacheKey
file
is nowallowFile
filePath
is nowallowFilePath
If you didnt modify any, you are BC here for sure.
If you used online runtime config on the classes (instead of Configure), you will also be fine.
Only if you used Configure (which technically was a bit wrong since they might affect both types due to the same key) you might have to do a small migration here.