Fix GroupSetPermissionAccessEntity ingids

Fix `GroupSetPermissionAccessEntity::getAccessEntityUsers()` ingids

- Change `foreach` to iterate throup `$groups` array as opposed to an
  undefined `$user` variable
Merge pull request #1532 from mkly/fix_group_set_permission_access_entity_1

Fix GroupSetPermissionAccessEntity ingids