#6 rename groups to permissions, so it can be used for this issue