הדרך הטובה ביותר לאכוף הרשאות - בקר או אילוץ?

Can’t you pass a method to before_action to check your condition?