Fix #1190 don't create group when getPermission()