Forráskód Böngészése

PRS DESKTOP - visibility of Deliveries now governed by new token added

Nick-PRSDigital@bitbucket.org 2 éve
szülő
commit
4ac0faee3d
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      prs.desktop/MainWindow.xaml.cs

+ 1 - 1
prs.desktop/MainWindow.xaml.cs

@@ -675,7 +675,7 @@ namespace PRSDesktop
                             ClientFactory.IsSupported<DeliveryItem>() && Security.IsAllowed<CanViewLogisticsReadyToGo>());
                         SetVisibility(DispatchButton, Security.CanView<Shipment>() && Security.CanView<DeliveryItem>());
                         SetVisibility(RequisitionsButton, Security.CanView<Requisition>());
-                        SetVisibility(DeliveriesButton, Security.CanView<Delivery>());
+                        SetVisibility(DeliveriesButton, Security.IsAllowed<CanViewDeliveriesModule>());
                         SetVisibility(DeliveredItemsButton,
                             ClientFactory.IsSupported<DeliveryItem>() && Security.IsAllowed<CanViewDeliveredOnSite>());