test auto select with permissions