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:
1 parent
1ebe496589
commit
28a3a99c50
3 files changed
+36
-3
No files matched your search
@@ -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