> 'Q'); local: 'refresh' = true; #allow += ',Q'; #allow->(removeleading: ','); #allow->(removetrailing: ','); #allow->(replace: ',,', ','); /if; // Modify the deny field by removing a block on SQL // statements. local: 'deny' = (field: 'deny'); if: (#deny >> 'Q'); local: 'refresh' = true; #deny -= 'Q'; #deny->(removeleading: ','); #deny->(removetrailing: ','); #deny->(replace: ',,', ','); /if; // If either allow or deny was modified then update the // record. if: #refresh == true; inline: -update, -database=(database_name), -table=(table_name), -keyfield=(keyfield_name), -keyvalue=(keyfield_value), 'allow'=#allow, 'deny'=#deny; /inline; /if; /records; /if; /inline; // If a modification was made then refresh Lasso's security caches. if: #refresh == true; _security_flushcaches; /if; }->run; ?>