Fixed broken check on user permission if no group support is enabled, closes #730