make it compatible with the cancancan gem