Reputation: 19
I have installed a Plone with the following information:
Plone vr 5.0.7 (5017) CMF 2.2.10 Zope 2.13.26 Python 2.7.13 (default, Jul 26 2017, 16:31:12) [GCC 4.3.0] PIL 1.1.7
Was wondering how can I relate a field (when you add a field on content type) to an action! So the idea is to create a field that admin can choose which user group can receive an email/notification when the content is published. I know I can add a rule content for emailing but I would have a choice to choose which user group can receive it. Could be an add-on or something in Plone?
Thank you!
Upvotes: 0
Views: 111
Reputation: 3965
To actually add a field and relate it to an action, you'd need to program dedicated content-types.
Yet, as you want to grant the privilege "get mail on publication" to certain groups, it would be consistent to solve this as a permission-assignments, meaning to grant the groups a local-role on the item.
In concrete that would boil down to these steps:
The admin can then assign the groups to the new role "Receiver" via the sharing-tab of an item.
Upvotes: 1
Reputation: 671
Add a "User's group" condition in the content rule declaration.
Upvotes: 1