user suggestion - groupRestriction
Im using nuxeo-user-suggestion , i want to know how can use the groupRestriction for filter the search by a group or a permission
ok, I already have it, here I leave the code, if someone finds it useful
<nuxeo-user-suggestion role="widget" value="" label="Revisor de carta de consentimiento informado" params={"groupRestriction":"Revisores"} search-type="USER_TYPE" min-chars="0" required="true" ></nuxeo-user-suggestion>
my group name is Revisores
Hello,
You can use the operation
attribute of the nuxeo-user-suggestion element: just use an automation chain with the UserGroup.Suggestion automation operation to filter the results.
Regards