diff --git a/app/DD-Record-Organizer/frmDoc_Links.vb b/app/DD-Record-Organizer/frmDoc_Links.vb index 3547d02..fcd0218 100644 --- a/app/DD-Record-Organizer/frmDoc_Links.vb +++ b/app/DD-Record-Organizer/frmDoc_Links.vb @@ -9,6 +9,12 @@ Public Class frmDoc_Links Try Refresh_Grid_Data(Documents) + If USER_IS_ADMIN Then + bsiSource.Visibility = DevExpress.XtraBars.BarItemVisibility.Always + Else + bsiSource.Visibility = DevExpress.XtraBars.BarItemVisibility.Never + End If + ' TODO: this does not work for the old form If Documents.Count = 0 Then Text = $"Document-Links for: NODOC-ID"