def create_default_roles_and_permissions
      say "Creating roles", indent: 1
      result = Ecm::Rbac::ImportDefaultPermissionsService.call
      if result.success?
        say "Created roles", indent: 2
      else
        add_error_and_say :create_roles_and_permissions, "Error creating roles. Errors: #{result.errors.full_messages.to_sentence}", indent: 2
      end
      say "Done", indent: 1
      return result.roles, result.permissions
    end
def create_default_roles_and_permissions
      say "Creating roles", indent: 1
      result = Ecm::Rbac::ImportDefaultPermissionsService.call
      if result.success?
        say "Created roles", indent: 2
      else
        add_error_and_say :create_roles_and_permissions, "Error creating roles. Errors: #{result.errors.full_messages.to_sentence}", indent: 2
      end
      say "Done", indent: 1
      return result.roles, result.permissions
    end
def create_client_setting
   say "Creating client setting", indent: 1
   client_setting = ClientSetting.new(client_setting_attributes)
   if client_setting.save
     say "Created #{client_setting.class} #{client_setting}", indent: 2
   else
     add_error_and_say :client_setting, "Error creating #{client_setting.class} #{client_setting}. Errors: #{client_setting.errors.full_messages.to_sentence}", indent: 2
   end
   say "Done", indent: 1
   return client_setting
 end