How to show group created by me only in search?

Hi, I want to show group created by me only in search suggestion while adding permission on work space. How can I do this? plz find attachment of image where I want to suggestion of those group which created by me only.

0 votes

2 answers



Hi, I solved this by making some changes as follows:

  1. created own bundle to override some actions & services of nuxeo.
  2. overridden group schema to add ownerId in that. With the help of

<?xml version="1.0"?> <xs:schema targetNamespace="" xmlns:xs="" xmlns:nxs=""> <xs:include schemaLocation="base.xsd" /> <xs:element name="groupname" type="xs:string" /> <xs:element name="grouplabel" type="xs:string" /> <xs:element name="description" type="xs:string" /> <!-- references --> <xs:element name="members" type="nxs:stringList" /> <xs:element name="subGroups" type="nxs:stringList" /> <!-- inverse reference --> <xs:element name="parentGroups" type="nxs:stringList" /> <!-- multi tenant --> <xs:element name="tenantId" type="xs:string" /> <xs:element name="ownerid" type="xs:string" /> </xs:schema>

  1. altered groups table added new column ownerId

  2. created new menu to show group by creating new action

    `<action id=“VirtualGroupsManager” link=“/users/view_groups.xhtml”

        label="label.groupManager.groups" type="admin_rest_document_link"


  3. overridden UserManager service to save ownerid while creating new group & to add ownerid filter while retrieving groups.

0 votes

There's no record of who created a group. Indeed in some cases they come from an external system (LDAP, Active Directory). So what you're suggesting is not possible.

0 votes

I have only postgres for groupdirectory not LDAP/Active Drectory