<commit_before>class Shop::AdminController < ModuleController
  permit 'shop_admin'

  component_info 'Shop', :description => 'Shop Component', 
                              :access => :private
                              
  register_permission_category :shop, "Shop" ,"Permissions for Shop Actions"
  
  register_permissions :shop, [  [ :manage, 'Shop Manage', 'Mange Shop Orders and Catalog' ],
                                 [ :admin, 'Shop Admin', 'Edit Shop Configuration']
                             ]

  

  # Register a handler feature
  register_handler :shop, :carrier_processor, "Shop::StandardCarrierProcessor"<commit_msg>Fix to shop permissions<commit_after>class Shop::AdminController < ModuleController
  permit 'shop_config'

  component_info 'Shop', :description => 'Shop Component', 
                              :access => :private
                              
  register_permission_category :shop, "Shop" ,"Permissions for Shop Actions"
  
  register_permissions :shop, [  [ :manage, 'Shop Manage', 'Mange Shop Orders and Catalog' ],
                                 [ :config, 'Shop Admin', 'Edit Shop Configuration']
                             ]

  

  # Register a handler feature
  register_handler :shop, :carrier_processor, "Shop::StandardCarrierProcessor"
{'fraction_non_alphanumeric': 0.09273570324574962, 'fraction_numerical': 0.0, 'mean_word_length': 2.2537688442211055, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3211380', 'n_tokens_mistral': 324, 'n_tokens_neox': 307, 'n_words': 88}