def METHOD_NAME(self):
    user = factories.User()
    parent = factories.Organization()
    child = factories.Organization(
        users=[{"capacity": "editor", "name": user["name"]}]
    )
    helpers.call_action(
        "member_create",
        id=child["id"],
        object=parent["id"],
        object_type="group",
        capacity="parent",
    )
    context = {"model": model, "user": user["name"]}
    with pytest.raises(logic.NotAuthorized):
        helpers.call_auth(
            "organization_member_create", context, id=parent["id"]
        )
    with pytest.raises(logic.NotAuthorized):
        helpers.call_auth(
            "organization_member_create", context, id=child["id"]
        )
    with pytest.raises(logic.NotAuthorized):
        helpers.call_auth(
            "package_create", context, owner_org=parent["id"]
        )
    helpers.call_auth("package_create", context, owner_org=child["id"])