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

This diff is not necessary