authorizedField.addRecordClickHandler(new RecordClickHandler() {
public void onRecordClick(RecordClickEvent event) {
recordBeingEdited[0] = event.getRecord();
}
});
authorizedField.addChangedHandler(new ChangedHandler() {
public void onChanged(ChangedEvent event) {
Boolean authorized = (Boolean) event.getValue();
int recordNum = event.getRowNum();
ListGridRecord record = grid.getRecord(recordNum);
String permissionName = record.getAttribute(nameField);