@classmethod
    def get_perm_name(cls, resource, method):

        return '%s_%s_%s' % (
            cls.PREFIX,
            cls._get_resource_name(resource),
            method.lower())
Compose permission name
dataset/ETHPy150Open wuher/devil/devil/perm/acl.py/PermissionController.get_perm_name