user admin check for bsiSource
This commit is contained in:
parent
5196bcda8e
commit
89df2495e7
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user