def allowed(self, context, perm):
        if not hasattr(context, '__acl__'):
            acl = context
            context = MagicMock()
            context.__acl__ = acl
            context.__parent__ = None
        return self.auth.principals_allowed_by_permission(context, perm)
Bootstrap a container from package servers, if dist is None the os the
dataset/ETHPy150Open mathcamp/pypicloud/tests/test_access_backends.py/BaseACLTest.allowed--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/nspawn.py/bootstrap_container