these three lines seem an odd way of writing,
```java
canEdit = model.isAdministrator() && !model.isSystemGroup(ref.getId());
```