| | | 1 | | namespace OzonOrdersWeb.Authorization; |
| | | 2 | | |
| | | 3 | | /// <summary> |
| | | 4 | | /// Страницы, проверяемые в ПКМ по строке заказа (синхрон с <c>isEndpointAllowed</c> / AppPages). |
| | | 5 | | /// </summary> |
| | | 6 | | public static class Studio2OrderContextMenuCatalog |
| | | 7 | | { |
| | 0 | 8 | | public static readonly IReadOnlyList<string> ContextMenuPageCodes = |
| | 0 | 9 | | [ |
| | 0 | 10 | | "Studio2.OrderHistory.GetOrderHistory", |
| | 0 | 11 | | "Studio2.OrderHistory.GetShipmentTotals", |
| | 0 | 12 | | "Studio2.OrderHistory.GetShipmentTotalsBatch", |
| | 0 | 13 | | "Studio2.OrderHistory.GetBitrixSyncHistory", |
| | 0 | 14 | | "Studio2.OrderHistory.ExportBitrixSyncHistoryExcel", |
| | 0 | 15 | | "Studio2.Orders.MultiplayEditV2", |
| | 0 | 16 | | "Studio2.Orders.MultiplayUpdateOrdersStatusV2", |
| | 0 | 17 | | "Studio2.Orders.PrintOrdersLableV2", |
| | 0 | 18 | | "Studio2.Orders.SplitOrder", |
| | 0 | 19 | | "Studio2.Orders.SplitOrders", |
| | 0 | 20 | | "Studio2.Orders.GetOzonSplitData", |
| | 0 | 21 | | "Studio2.Orders.SplitOzonOrder", |
| | 0 | 22 | | "Studio2.ExcludedArticles.Create", |
| | 0 | 23 | | "Studio2.OrderArchive.ArchiveOrder", |
| | 0 | 24 | | "Studio2.OrderArchive.ArchiveMultiple", |
| | 0 | 25 | | "Studio2.Tradesoft.UpdateItemsStatusAndRedirect", |
| | 0 | 26 | | "Studio2.Orders.DeleteV2", |
| | 0 | 27 | | "Studio2.Orders.MultiplayDeleteOrdersV2", |
| | 0 | 28 | | "Studio2.Orders.SwapStudioOrderIds", |
| | 0 | 29 | | "Studio2.OrderArchive.RestoreOrderToOrders", |
| | 0 | 30 | | ]; |
| | | 31 | | |
| | 0 | 32 | | public static IReadOnlyList<string> AllContextMenuMvcPaths { get; } = |
| | 0 | 33 | | ContextMenuPageCodes.Select(Studio2RolePageMenuCatalog.ToMvcPath).ToList(); |
| | | 34 | | } |