Description
You can set accessibility for individual fields using setAccess() but setHidden() only allows adding or overwriting the full hidden field array.
When working with role-based permissions, unhiding specific fields is tricky because the entire array has to be managed with each change.
CakePHP Version
6.0
Description
You can set accessibility for individual fields using
setAccess()butsetHidden()only allows adding or overwriting the full hidden field array.When working with role-based permissions, unhiding specific fields is tricky because the entire array has to be managed with each change.
CakePHP Version
6.0