def evaluate_action_permission(options)
      # the target is the @resource
      # (@event, @user, @page, whatever)
      # it must exist in order to perform a permission check
      # involving the object
      if options[:target]
        object = instance_variable_get("@#{options[:target]}")
        return options[:user].can?(options[:permission], object)
      else
        return options[:user].can?(options[:permission])
      end
    end
def evaluate_action_permission(options)
      # the target is the @resource
      # (@event, @user, @page, whatever)
      # it must exist in order to perform a permission check
      # involving the object
      if options[:target]
        object = instance_variable_get("@#{options[:target]}")
        return options[:user].can?(options[:permission], object)
      else
        return options[:user].can?(options[:permission])
      end
    end
run the permission

 @param [Hash] options the data for the permission
 @return [Boolean] the result of the permission