I’m not sure if I’m approaching this the right way or if this isn’t a function with Mautic -
We’re looking for a solution that would allow me to assign groups of contacts to multiple users. Here’s the workflow:
System admin imports users and creates segments
System admin creates a user and assigns the user to access 1 or more segments
General user can login, view only the contacts in the assigned segments, from there create additional segments based on custom fields and send campaigns to their segments.
In looking at the user role settings, it’s begging to look like I’d have to import the users under each new user unless I’m not understanding. The role can either see all other segments or only their own, and in order to have their own, they have to have access to contacts, which is the same all or nothing, so the only way I see to allow users to only have specific contacts is to create them under each user.
For this to be elegantly possible you would have to change how mautic permissions work.
I do not think there is a clean way to achieve that even with the plugin. If you would want that you need to change the core (and I think you would have to change quite a bit).
Mautic is not intended to have same users imported multiple times (although you can, its most likely not what you want).
Best, M.
Thanks for the feedback, that’s what I was thinking.
I did come up with a way to maybe get us there - even if not ideal.
If I create a role for user setup, assign new users to this role that has permissions for all contacts and segments, then create a segment under that user and switch them to a role that only has access to their own segments and to create new ones, this could work.
However, I’ve noticed even with the role set to only own segments, all segments are visible and listed, but not actionable.
Mautic was overall promising, but might not be the solution we’re looking for. It’s been hard to find a solution.
I mean a dirty solution would be to reimplement views where you need this modified permissions within the plugin, this could work but would look at how much mautic would we need to adjust based on your requirements.
Then once we have a plugin with duplicate list of segments and probably contacts we can implement this logic (it might be also good to integrate a third party authentication software such as keycloak to handle all the user roles stuff).
I mean this could be interesting to implement, but depending on your needs might be too much work for a plugin.
If you are interested, we can have a short meeting about this, just drop me a DM with meeting details if intersted.
Best, M.
Hi @mzagmajster I would like to chat about this - but I think first I need to get a little more info on the plugin structure personally, so thanks for the offer, I’ll reach out soon. I’m just getting back into things after the holidays
1 Like