You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.
Let's say the ability of one action depends on the ability of another. For example, what if we have a Project which has_many :tasks and we want a task's update ability to be dependent on whether the user can update the project. We can perform the can? call within the ability definition to check the project permission.