This repository was archived by the owner on Dec 12, 2021. It is now read-only.

Description
Hi. After reading the wiki, I realized that I can assign custom error messages for different pairs of actions and subject. But how can I assign different messages for same pairs, but for different conditions of access dening? Like here:
cannot :manage, [Document, Plan] unless user.have_access?
cannot :manage, [Document, Plan] unless user.ready_for_work?