Logistics_Descriptors.cs 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. using System.Linq;
  2. using InABox.Core;
  3. namespace Comal.Classes
  4. {
  5. [Caption("Can Close Requisitions without Photos")]
  6. public class CanSkipRequisitionPhotos : DisabledSecurityDescriptor<LogisticsLicense, Requisition>
  7. {
  8. }
  9. [Caption("Can Update Requisition Stock Movements")]
  10. public class CanUpdateRequisitionStockMovements : DisabledSecurityDescriptor<LogisticsLicense, Requisition>
  11. {
  12. }
  13. [Caption("Can Archive Requisitions")]
  14. public class CanArchiveRequisitions : DisabledSecurityDescriptor<LogisticsLicense, Requisition>
  15. {
  16. }
  17. [Caption("Can Complete Deliveries")]
  18. public class CanCompleteDeliveries : DisabledSecurityDescriptor<LogisticsLicense, Delivery>
  19. {
  20. }
  21. [Caption("Can Complete Deliveries without Photos")]
  22. public class CanSkipDeliveryPhotos : DisabledSecurityDescriptor<LogisticsLicense, Delivery>
  23. {
  24. }
  25. [Caption("Can Archive Deliveries")]
  26. public class CanArchiveDeliveries : EnabledSecurityDescriptor<LogisticsLicense, Delivery>
  27. {
  28. }
  29. [Caption("View Delivery Dock")]
  30. public class CanViewDeliveryDock : EnabledSecurityDescriptor<LogisticsLicense, Delivery>
  31. {
  32. }
  33. [Caption("View Logistics Ready-To-Go Module")]
  34. public class CanViewLogisticsReadyToGo : EnabledSecurityDescriptor<LogisticsLicense, DeliveryItem>
  35. {
  36. }
  37. [Caption("View Delivered On Site Module")]
  38. public class CanViewDeliveredOnSite : EnabledSecurityDescriptor<LogisticsLicense, DeliveryItem>
  39. {
  40. }
  41. [Caption("View Consignments Dock")]
  42. public class CanViewConsignmentDock : EnabledSecurityDescriptor<LogisticsLicense, Consignment>
  43. {
  44. }
  45. [Caption("Close Consignments")]
  46. public class CanCloseConsignments : DisabledSecurityDescriptor<LogisticsLicense, Consignment>
  47. {
  48. }
  49. [Caption("Receive Consignments")]
  50. public class CanReceiveConsignments : DisabledSecurityDescriptor<LogisticsLicense, Consignment>
  51. {
  52. }
  53. [Caption("View Deliveries Module")]
  54. public class CanViewDeliveriesModule : EnabledSecurityDescriptor<LogisticsLicense, Delivery>
  55. {
  56. }
  57. }