.dev/install/installer_data/db_tables/sys_block_rules.data.php

Summary

Maintainability
B
5 hrs
Test Coverage
<?php

return [
  1 => [
    'id' => '1',
    'block_id' => '1',
    'rule_type' => 'ALLOW',
    'user_groups' => '',
    'methods' => '',
    'themes' => '',
    'locales' => '',
    'others' => '',
    'active' => '1',
    'order' => '1',
    'site_ids' => '',
    'server_ids' => '',
    'server_roles' => '',
  ],
  2 => [
    'id' => '2',
    'block_id' => '4',
    'rule_type' => 'ALLOW',
    'user_groups' => '1',
    'methods' => '',
    'themes' => '',
    'locales' => '',
    'others' => '',
    'active' => '1',
    'order' => '1',
    'site_ids' => '',
    'server_ids' => '',
    'server_roles' => '',
  ],
  3 => [
    'id' => '3',
    'block_id' => '2',
    'rule_type' => 'ALLOW',
    'user_groups' => '',
    'methods' => '',
    'themes' => '',
    'locales' => '',
    'others' => '',
    'active' => '1',
    'order' => '0',
    'site_ids' => '',
    'server_ids' => '',
    'server_roles' => '',
  ],
  4 => [
    'id' => '4',
    'block_id' => '3',
    'rule_type' => 'ALLOW',
    'user_groups' => '',
    'methods' => 'blog.show_posts,blog.show_single_post,gallery.show_gallery,gallery.show_medium_size,gallery.view_folder,user_profile.show',
    'themes' => '',
    'locales' => '',
    'others' => '',
    'active' => '1',
    'order' => '1',
    'site_ids' => '',
    'server_ids' => '',
    'server_roles' => '',
  ],
  5 => [
    'id' => '5',
    'block_id' => '3',
    'rule_type' => 'DENY',
    'user_groups' => '',
    'methods' => 'blog.show,blog.show_all_blogs,blog.add_post,blog.edit_post,gallery.show,gallery.add_photo,gallery.edit_photo',
    'themes' => '',
    'locales' => '',
    'others' => '',
    'active' => '1',
    'order' => '2',
    'site_ids' => '',
    'server_ids' => '',
    'server_roles' => '',
  ],
  6 => [
    'id' => '6',
    'block_id' => '6',
    'rule_type' => 'ALLOW',
    'user_groups' => ',4,',
    'methods' => '',
    'themes' => '',
    'locales' => '',
    'others' => '',
    'active' => '1',
    'order' => '4',
    'site_ids' => '',
    'server_ids' => '',
    'server_roles' => '',
  ],
  7 => [
    'id' => '7',
    'block_id' => '7',
    'rule_type' => 'ALLOW',
    'user_groups' => '',
    'methods' => '',
    'themes' => '',
    'locales' => '',
    'others' => '',
    'active' => '1',
    'order' => '0',
    'site_ids' => '',
    'server_ids' => '',
    'server_roles' => '',
  ],
  8 => [
    'id' => '8',
    'block_id' => '8',
    'rule_type' => 'ALLOW',
    'user_groups' => '',
    'methods' => '',
    'themes' => '',
    'locales' => '',
    'others' => '',
    'active' => '1',
    'order' => '0',
    'site_ids' => '',
    'server_ids' => '',
    'server_roles' => '',
  ],
  9 => [
    'id' => '9',
    'block_id' => '9',
    'rule_type' => 'ALLOW',
    'user_groups' => '',
    'methods' => '',
    'themes' => '',
    'locales' => '',
    'others' => '',
    'active' => '1',
    'order' => '0',
    'site_ids' => '',
    'server_ids' => '',
    'server_roles' => '',
  ],
  10 => [
    'id' => '10',
    'block_id' => '10',
    'rule_type' => 'ALLOW',
    'user_groups' => '',
    'methods' => '',
    'themes' => '',
    'locales' => '',
    'others' => '',
    'active' => '1',
    'order' => '0',
    'site_ids' => '',
    'server_ids' => '',
    'server_roles' => '',
  ],
  13 => [
    'id' => '13',
    'block_id' => '4',
    'rule_type' => 'ALLOW',
    'user_groups' => ',2,',
    'methods' => ',admin_account,
admin_home,
admin_wall,
manage_shop.filter_save,
manage_shop.orders,
manage_shop.orders_manage,
manage_shop.product_activate,
manage_shop.product_add,
manage_shop.product_delete,
manage_shop.product_edit,
manage_shop.product_image_delete,
manage_shop.product_image_search,
manage_shop.product_image_upload,
manage_shop.products,
manage_shop.show_orders,
manage_shop.view_order,
shop_supplier_panel,',
    'themes' => '',
    'locales' => '',
    'others' => '',
    'active' => '1',
    'order' => '2',
    'site_ids' => '',
    'server_ids' => '',
    'server_roles' => '',
  ],
  14 => [
    'id' => '14',
    'block_id' => '12',
    'rule_type' => 'ALLOW',
    'user_groups' => '',
    'methods' => '',
    'themes' => '',
    'locales' => '',
    'others' => '',
    'active' => '1',
    'order' => '0',
    'site_ids' => '',
    'server_ids' => '',
    'server_roles' => '',
  ],
  15 => [
    'id' => '15',
    'block_id' => '13',
    'rule_type' => 'ALLOW',
    'user_groups' => '',
    'methods' => '',
    'themes' => '',
    'locales' => '',
    'others' => '',
    'active' => '1',
    'order' => '0',
    'site_ids' => '',
    'server_ids' => '',
    'server_roles' => '',
  ],
  16 => [
    'id' => '16',
    'block_id' => '14',
    'rule_type' => 'ALLOW',
    'user_groups' => '',
    'methods' => '',
    'themes' => '',
    'locales' => '',
    'others' => '',
    'active' => '1',
    'order' => '0',
    'site_ids' => '',
    'server_ids' => '',
    'server_roles' => '',
  ],
  18 => [
    'id' => '18',
    'block_id' => '6',
    'rule_type' => 'ALLOW',
    'user_groups' => ',2,',
    'methods' => '',
    'themes' => '',
    'locales' => '',
    'others' => '',
    'active' => '1',
    'order' => '3',
    'site_ids' => '',
    'server_ids' => '',
    'server_roles' => '',
  ],
  19 => [
    'id' => '19',
    'block_id' => '15',
    'rule_type' => 'ALLOW',
    'user_groups' => '',
    'methods' => '',
    'themes' => '',
    'locales' => '',
    'others' => '',
    'active' => '1',
    'order' => '0',
    'site_ids' => '',
    'server_ids' => '',
    'server_roles' => '',
  ],
  23 => [
    'id' => '23',
    'block_id' => '20',
    'rule_type' => 'ALLOW',
    'user_groups' => '',
    'methods' => '',
    'themes' => '',
    'locales' => '',
    'others' => '',
    'active' => '1',
    'order' => '0',
    'site_ids' => '',
    'server_ids' => '',
    'server_roles' => '',
  ],
  24 => [
    'id' => '24',
    'block_id' => '16',
    'rule_type' => 'ALLOW',
    'user_groups' => '',
    'methods' => '',
    'themes' => '',
    'locales' => '',
    'others' => '',
    'active' => '1',
    'order' => '0',
    'site_ids' => '',
    'server_ids' => '',
    'server_roles' => '',
  ],
  25 => [
    'id' => '25',
    'block_id' => '21',
    'rule_type' => 'ALLOW',
    'user_groups' => '',
    'methods' => '',
    'themes' => '',
    'locales' => '',
    'others' => '',
    'active' => '1',
    'order' => '0',
    'site_ids' => '',
    'server_ids' => '',
    'server_roles' => '',
  ],
  27 => [
    'id' => '27',
    'block_id' => '6',
    'rule_type' => 'ALLOW',
    'user_groups' => ',1,',
    'methods' => '',
    'themes' => '',
    'locales' => '',
    'others' => '',
    'active' => '1',
    'order' => '0',
    'site_ids' => '',
    'server_ids' => '',
    'server_roles' => '',
  ],
  28 => [
    'id' => '28',
    'block_id' => '4',
    'rule_type' => 'ALLOW',
    'user_groups' => ',4,',
    'methods' => 'admin_account,
admin_home,
admin_wall,
manage_shop.filter_save,
manage_shop.orders,
manage_shop.orders_manage,
manage_shop.product_edit,
manage_shop.product_add,
manage_shop.products,
manage_shop.send_sms,
manage_shop.show_orders,
manage_shop.view_order,
invoice,',
    'themes' => '',
    'locales' => '',
    'others' => '',
    'active' => '1',
    'order' => '5',
    'site_ids' => '',
    'server_ids' => '',
    'server_roles' => '',
  ],
  34 => [
    'id' => '34',
    'block_id' => '4',
    'rule_type' => 'ALLOW',
    'user_groups' => ',3,',
    'methods' => 'admin_account,
admin_home,
admin_wall,
manage_shop.attribute_activate,
manage_shop.attribute_add,
manage_shop.attribute_delete,
manage_shop.attribute_edit,
manage_shop.attributes,
manage_shop.filter_save,
manage_shop.product_activate,
manage_shop.product_add,
manage_shop.product_clone,
manage_shop.product_delete,
manage_shop.product_edit,
manage_shop.product_image_search,
manage_shop.product_image_upload,
manage_shop.product_image_delete,
manage_shop.products,
manage_shop.set_main_image,
',
    'themes' => '',
    'locales' => '',
    'others' => '',
    'active' => '1',
    'order' => '3',
    'site_ids' => '',
    'server_ids' => '',
    'server_roles' => '',
  ],
  35 => [
    'id' => '35',
    'block_id' => '6',
    'rule_type' => 'ALLOW',
    'user_groups' => ',3,',
    'methods' => '',
    'themes' => '',
    'locales' => '',
    'others' => '',
    'active' => '1',
    'order' => '3',
    'site_ids' => '',
    'server_ids' => '',
    'server_roles' => '',
  ],
  36 => [
    'id' => '36',
    'block_id' => '22',
    'rule_type' => 'ALLOW',
    'user_groups' => '',
    'methods' => '',
    'themes' => '',
    'locales' => '',
    'others' => '',
    'active' => '1',
    'order' => '0',
    'site_ids' => '',
    'server_ids' => '',
    'server_roles' => '',
  ],
];