diff --git a/PROMS/Volian.Controls.Library/AnnotationDetails.cs b/PROMS/Volian.Controls.Library/AnnotationDetails.cs index 0a1b3d13..34aa8dcb 100644 --- a/PROMS/Volian.Controls.Library/AnnotationDetails.cs +++ b/PROMS/Volian.Controls.Library/AnnotationDetails.cs @@ -355,7 +355,9 @@ namespace Volian.Controls.Library rtxbComment.Visible = true; if (!_LoadingGrid) rtxbComment.Focus(); // Set the focus to the comment text - if (CurrentAnnotation != null && MyUserInfo.IsReviewer(CurrentAnnotation.MyItem.MyDocVersion ) && CurrentAnnotation.UserID != MyUserInfo.UserID) + + // Bug Fix: B2016-274 if admin user also has reviewer set, allow admin user to modify existing annotations + if (CurrentAnnotation != null && (!(MyUserInfo.IsAdministrator() || MyUserInfo.IsSetAdministrator(CurrentAnnotation.MyItem.MyDocVersion)) && (MyUserInfo.IsReviewer(CurrentAnnotation.MyItem.MyDocVersion ) && CurrentAnnotation.UserID != MyUserInfo.UserID))) { btnRemoveAnnotation.Enabled = false; cbGridAnnoType.Enabled = false;