def authorize_action
      YamledAcl.init(current_user_group_name, params[:controller])
      allowed_to?(params[:action]) or raise(YamledAcl::AccessDenied)
    end
def authorize_action
      YamledAcl.init(current_user_group_name, params[:controller])
      allowed_to?(params[:action]) or raise(YamledAcl::AccessDenied)
    end
This method should be be called by +before_filter+.

   before_filter :authorize_action