def authorize(action, subject)
      context.send(:authorize, subject, normalize(action)) && subject
    rescue ::Pundit::NotAuthorizedError
      Rails.logger.info I18n.t('errors.unauthorized', user: user, action: action, subject: subject)
      raise Forbidden
    end
def authorize(action, subject)
      context.send(:authorize, subject, normalize(action)) && subject
    rescue ::Pundit::NotAuthorizedError
      Rails.logger.info I18n.t('errors.unauthorized', user: user, action: action, subject: subject)
      raise Forbidden
    end
Check user's permission for an action on given subject.

 This method will be used in controller.
 @param action [Symbol, String]
 @param subject [Object, Class]
 @raise [Wallaby::Forbidden] when user is not authorized to perform the action.