Allow user groups without permission for the primary site to add contacts
Feature Request
In our multisite setup we have the situation that user groups of a specific multisite should be able to add contacts. Currently edit permission for the primary site is necessary to add contacts.
- Is there a specific reason for that?
- Is there any other way to give them the permission to add contacts without the edit permissions for the primary site?
Thanks :)
Plugin Version
3.6.0
This restriction was caused by an issue in Craft 4. It’s entirely possible that the issue no longer exists in Craft 5, but it would need some thorough testing.
If you’d like to see it working, you can comment out the following line. https://github.com/putyourlightson/craft-campaign/blob/d2db1d1f40e27db946d110830d908d893e4065e7/src/Campaign.php#L374
This restriction was caused by an issue in Craft 4. It’s entirely possible that the issue no longer exists in Craft 5, but it would need some thorough testing.
If you’d like to see it working, you can comment out the following line.
craft-campaign/src/Campaign.php
Line 374 in d2db1d1 return false;
Removing the mentioned condition (which checks if the user has edit permissions for the default site in a multi-site setup) makes creating contacts work again (in Craft 5) for editors which don't have edit permissions for the default site.
Is there anything else we can do to help with the goal to have this released, @bencroker? Thanks!
Great! I’ll do some more testing and will try to get it into the next release.
@bencroker, appreciate it. When can we expect the next release? Thanks a lot!
@bencroker - I also wanted to ask, if we can expect a release soonish? Thank you very much!
Thanks for following up. We should have a release out next week with a fix.