Fixed unit editing permissions for viewers