for(Map.Entry<String,PasswordPermission> thisEntry : gPerms.entrySet()) {
            final String groupId = thisEntry.getKey();
            Group theGroup = groupDAO.getByIdDecrypted(groupId, adminUser);
            if( theGroup != null ) {
                groupAccessControlDAO.create(theGroup, newPassword, thisEntry.getValue());