Make it possible to get a list of emails from a group and clarify the scripting
functions in this domain
--------------------------------------------------------------------------------------------------------
Key: NXS-450
URL: https://jira.nuxeo.com/browse/NXS-450
Project: Nuxeo Studio
Issue Type: New Feature
Affects Versions: 2.0.3
Reporter: Alain Escaffre
Currently, if I need to notify a list of people in a group using automation,
the only trick I found is to assign a permission to this group on a document,
and then call "GetPrincipalEmails" giving the permission I assigned (which I
made sure was not an existing one for real, so as to be sure to get back only
the group I specified).
This is obviously not ok, and I think that we should have,overall:
* operations:
** GetUsersAndGroupsForPermission (same as the one currently not nicely
called "GetUsersAndGroups"). It would return Principals, with ability to
resolve groups as for today
* Scripting functions:
** List<String>getEmails(List<Principal>)
** String getEmail(Principal)
** List<Principal> getPrincipalsFromGroup(String group)
With this, I'll be able to cover the following usecases:
* Assign tasks to some users having a specific permission on a docuemnt
* Assign tasks to some hardcoded groups
and notify everybody by email when I need, without having to use some weird
tricks
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.nuxeo.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets