def test_has_permission_default_write(self):
        self.backend.default_read = ['authenticated']
        self.backend.default_write = ['authenticated']
        perms = self.backend.allowed_permissions('anypkg')
        self.assertEqual(perms, {Authenticated: ('read', 'write')})
If no user/group permissions on a package, use default_write
dataset/ETHPy150Open mathcamp/pypicloud/tests/test_access_backends.py/TestBaseBackend.test_has_permission_default_write