Use this method to specify which properties can be set through mass assignment.
Name | Type | Required | Default | Description |
---|---|---|---|---|
properties | string | No | Property name (or list of property names) that are allowed to be altered through mass assignment. |
accessibleProperties([ properties ]) <!--- In `models/User.cfc`, only `isActive` can be set through mass assignment operations like `updateAll()` ---> <cffunction name="init"> <cfset accessibleProperties("isActive")> </cffunction>