Pass UserInfo (for security settings) to DisplayRO and StepTabRibbon
Check to see if the use is allowed to run the RO Editor before enabling the GoToRO button. If an RO is selected in the text, the check to see if the user is allowed to run the RO Editor before enabling the GoTo button on the ribbon and context menu button, as well as enabling the <Shift><Ctrl><G> keystroke.
This commit is contained in:
@@ -1039,6 +1039,8 @@ namespace VEPROMS
|
||||
ui = UserInfo.Get(u.UID);
|
||||
}
|
||||
ctrlAnnotationDetails.MyUserInfo = ui;
|
||||
DisplayRO.MyUserInfo = ui; // set the user's security information in the properties RO panel
|
||||
StepTabRibbon.MyUserInfo = ui; // set the user's security information in the ribbon
|
||||
bool isVisible = ui.IsAdministrator();
|
||||
btnManageSecurity.Visible = isVisible;
|
||||
btnUpdateFormats.Visible = isVisible;
|
||||
|
Reference in New Issue
Block a user