@property
    def permission(self):
        klass = self.resource_meta.object_class
        permission = "%s.manage_%ss" % (klass._meta.app_label,
            klass._meta.module_name)
        logger.debug("desired permission %s" % permission)
        return permission
Casting a spell should use spirit energy
dataset/ETHPy150Open mozilla/moztrap/moztrap/model/mtapi.py/MTAuthorization.permission--crossover with--dataset/ETHPy150Open tuturto/pyherc/src/pyherc/test/unit/test_spells.py/TestSpellCastingAction.test_casting_spell_uses_spirit