System:Model:setSecurityRule
From Aspen Documentation
Sets a security rule for data coming into a specific field through any other auto-generated model queries.
Since 1.0
Arguments
void setSecurityRule (string $field, string $key, string $value)
- field
- Current schema field to set security rule on.
- key
- Security rule name.
- value
- Value of new security rule.