optimize setCurrentAccessLevel