C2016-030 – added Find and GoTo buttons on the Review Ribbon so that users with Review only security can easily preform a Find text and Go To a Transition location.

B2016-274 – allow a user with Admin rights who also is included in the reviewer or RO Editor group move a procedure within a set.
This commit is contained in:
2017-01-10 16:06:52 +00:00
parent bef0744972
commit cc77a47237
3 changed files with 399 additions and 366 deletions

View File

@@ -3454,7 +3454,8 @@ namespace Volian.Controls.Library
dvInfo = (dragNode.VEObject as ProcedureInfo).MyDocVersion;
else if (IsSection(dragNode))
dvInfo = (dragNode.VEObject as SectionInfo).MyDocVersion;
if (dvInfo != null) return !(MyUserInfo.IsReviewer(dvInfo) || MyUserInfo.IsROEditor(dvInfo));
// Bug fix B2016-274 if an Admin user also had Reviewer or ROEditor settings, admin could not move the tree node
if (dvInfo != null) return (MyUserInfo.IsAdministrator() || MyUserInfo.IsSetAdministrator(dvInfo)) || MyUserInfo.IsWriter(dvInfo);
return false;
}
private static TreeNode GetTreeNodeFromData(IDataObject datobj)