Update to 1.4-SNAPSHOT
Add hasCastPermission method to MageController