Explorar el Código

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

Nick-PRSDigital@bitbucket.org hace 2 años
padre
commit
4ac0faee3d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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>());