add deprecated setTwoLevelAccessRequired() for backwards compatibility