Closed a4chris closed 4 years ago
You're right - fixed with https://github.com/dachcom-digital/pimcore-members/commit/e597744919dcd14926ae5ae81e979cabe671bead!
Don't forget to apply bin/console pimcore:migrations:migrate -b MembersBundle
after updating!
Hi Stefan Installed, Tested, Worked! Thank you ver much.
Hi Stefan
After Updating a Project to "Pimcore": ~6.6.5 and "members": "~3.1.2" is it not possible to set the Multiselect "groups" in Class "MembersUser" programmatically anymore.
Either like this: config.yml members: restriction: enabled: true user: initial_groups:
nor like this: $object = new DataObject\MembersUser(); $object->setKey(\Pimcore\File::getValidFilename($key)); $object->setParentId($parentId); $object->setPublished(true); $object->setGroups([DataObject\MembersGroup::getById(4)]); $object->save();
Is this is a known issue? Thanks for helping. Christoph