- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-15-2020 08:22 PM
Im using nuxeo-user-suggestion , i want to know how can use the groupRestriction for filter the search by a group or a permission
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2020 07:56 PM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2020 10:27 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-16-2020 06:41 PM
where can i find some example code?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-17-2020 07:56 PM
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
