@@ -651,7 +651,9 @@ const authProvider = {
651651 // 'products.description' is missing
652652 { action: ' read' , resource: ' products.thumbnail' },
653653 // 'products.image' is missing
654+ // note that the tab with the name 'description' will be displayed
654655 { action: ' read' , resource: ' products.tab.description' },
656+ // note that the tab with the name 'images' will be displayed
655657 { action: ' read' , resource: ' products.tab.images' },
656658 // 'products.tab.stock' is missing
657659 ],
@@ -758,7 +760,9 @@ const authProvider = {
758760 // 'products.description' is missing
759761 { action: ' write' , resource: ' products.thumbnail' },
760762 // 'products.image' is missing
763+ // note that the tab with the name 'description' will be displayed
761764 { action: ' write' , resource: ' products.tab.description' },
765+ // note that the tab with the name 'images' will be displayed
762766 { action: ' write' , resource: ' products.tab.images' },
763767 // 'products.tab.stock' is missing
764768 ],
@@ -813,7 +817,9 @@ const authProvider = {
813817 // 'products.description' is missing
814818 { action: ' write' , resource: ' products.thumbnail' },
815819 // 'products.image' is missing
820+ // note that the tab with the name 'description' will be displayed
816821 { action: ' write' , resource: ' products.tab.description' },
822+ // note that the tab with the name 'images' will be displayed
817823 { action: ' write' , resource: ' products.tab.images' },
818824 // 'products.tab.stock' is missing
819825 ],
@@ -870,7 +876,9 @@ const authProvider = {
870876 // 'products.description' is missing
871877 { action: ' write' , resource: ' products.thumbnail' },
872878 // 'products.image' is missing
879+ // note that the panel with the name 'description' will be displayed
873880 { action: ' write' , resource: ' products.panel.description' },
881+ // note that the panel with the name 'images' will be displayed
874882 { action: ' write' , resource: ' products.panel.images' },
875883 // 'products.panel.stock' is missing
876884 ]),
@@ -922,7 +930,9 @@ const authProvider = {
922930 // 'products.description' is missing
923931 { action: ' write' , resource: ' products.thumbnail' },
924932 // 'products.image' is missing
933+ // note that the panel with the name 'description' will be displayed
925934 { action: ' write' , resource: ' products.panel.description' },
935+ // note that the panel with the name 'images' will be displayed
926936 { action: ' write' , resource: ' products.panel.images' },
927937 // 'products.panel.stock' is missing
928938 ]),
@@ -977,7 +987,9 @@ const authProvider = {
977987 // 'products.description' is missing
978988 { action: ' write' , resource: ' products.thumbnail' },
979989 // 'products.image' is missing
990+ // note that the section with the name 'description' will be displayed
980991 { action: ' write' , resource: ' products.section.description' },
992+ // note that the section with the name 'images' will be displayed
981993 { action: ' write' , resource: ' products.section.images' },
982994 // 'products.section.stock' is missing
983995 ]),
@@ -1036,7 +1048,9 @@ const authProvider = {
10361048 // 'products.description' is missing
10371049 { action: ' write' , resource: ' products.thumbnail' },
10381050 // 'products.image' is missing
1051+ // note that the section with the name 'description' will be displayed
10391052 { action: ' write' , resource: ' products.section.description' },
1053+ // note that the section with the name 'images' will be displayed
10401054 { action: ' write' , resource: ' products.section.images' },
10411055 // 'products.Section.stock' is missing
10421056 ]),
@@ -1089,7 +1103,9 @@ const authProvider = {
10891103 // 'products.description' is missing
10901104 { action: ' write' , resource: ' products.thumbnail' },
10911105 // 'products.image' is missing
1106+ // note that the panel with the name 'description' will be displayed
10921107 { action: ' write' , resource: ' products.panel.description' },
1108+ // note that the panel with the name 'images' will be displayed
10931109 { action: ' write' , resource: ' products.panel.images' },
10941110 // 'products.panel.stock' is missing
10951111 ]),
@@ -1147,7 +1163,9 @@ const authProvider = {
11471163 // 'products.description' is missing
11481164 { action: ' write' , resource: ' products.thumbnail' },
11491165 // 'products.image' is missing
1166+ // note that the step with the name 'description' will be displayed
11501167 { action: ' write' , resource: ' products.step.description' },
1168+ // note that the step with the name 'images' will be displayed
11511169 { action: ' write' , resource: ' products.step.images' },
11521170 // 'products.step.stock' is missing
11531171 ]),
@@ -1205,7 +1223,9 @@ const authProvider = {
12051223 // 'products.description' is missing
12061224 { action: ' write' , resource: ' products.thumbnail' },
12071225 // 'products.image' is missing
1226+ // note that the step with the name 'description' will be displayed
12081227 { action: ' write' , resource: ' products.step.description' },
1228+ // note that the step with the name 'images' will be displayed
12091229 { action: ' write' , resource: ' products.step.images' },
12101230 // 'products.step.stock' is missing
12111231 ]),
0 commit comments