test access right