def permitted_to? (privilege, object_or_sym = nil, options = {})
      if authorization_engine.permit!(privilege, options_for_permit(object_or_sym, options, false))
        yield if block_given?
        true
      else
        false
      end
    end
def permitted_to? (privilege, object_or_sym = nil, options = {})
      if authorization_engine.permit!(privilege, options_for_permit(object_or_sym, options, false))
        yield if block_given?
        true
      else
        false
      end
    end
If the current user meets the given privilege, permitted_to? returns true
 and yields to the optional block.  The attribute checks that are defined
 in the authorization rules are only evaluated if an object is given
 for context.

 See examples for Authorization::AuthorizationHelper #permitted_to?

 If no object or context is specified, the controller_name is used as
 context.