user admin check for bsiSource
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user