@Override
public void setValueAt(Object obj, int row, int col) {// изменение таблицы
if(col == COLUMN_CHECKS){
Boolean set = (Boolean) obj;
UserRight r = rights.get(row);
UserRightsGroup group = r.getGroup();
int mask = maskMap.get(group);
if(set){
mask = mask | r.getRightsMask();
}else{
mask = excludeFromMask(r);
}
try {
collabLoc.setRightsMask(group, mask);