def METHOD_NAME(client, json_header, org_martigny,
                                        librarian_martigny,
                                        system_librarian_martigny,
                                        librarian_sion,
                                        org_martigny_data):
    """Test organisation secure api create."""
    login_user_via_session(client, system_librarian_martigny.user)
    record_url = url_for('invenio_records_rest.org_item',
                         pid_value=org_martigny.pid)
    data = org_martigny_data
    data['name'] = 'New Name 1'
    res = client.put(
        record_url,
        data=json.dumps(data),
        headers=json_header
    )
    assert res.status_code == 200
    list_url = url_for('invenio_records_rest.org_list')
    client.get(list_url)
    assert res.status_code == 200
    login_user_via_session(client, librarian_martigny.user)
    data['name'] = 'New Name 2'
    res = client.put(
        record_url,
        data=json.dumps(data),
        headers=json_header
    )
    assert res.status_code == 403
    # Sion
    login_user_via_session(client, librarian_sion.user)
    res = client.put(
        record_url,
        data=json.dumps(data),
        headers=json_header
    )
    assert res.status_code == 403