Align EntityInterface::setHidden() and setAccess()
Author: othercoreyCreated Aug 17, 2026Updated Aug 24, 2026
Labelsenhancement
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
Source: cakephp/cakephp