relationship between legal and ethical frameworks in community services