Hiding OOB User Groups

Users can now hide the Out-Of-Box (OOB) user groups in the user group inventory, by configuring a specific setting in the database. The OOB user groups can be hidden only in the user group inventory but will be visible in the other areas. All the OOB user groups will have the preshipped flag set to true. Admin is also considered as a part of the OOB groups that is shipped.

To update the configuration settings in the avx_app_metadata.

  1. Since some of the OOB user groups don't have the preShipped flag , execute the query below to set the “preShipped” flag.
    db.getCollection('usergroup').updateMany({_id:{$in:["CLM Level1 Approver", "CLM Level2 Approver", "CLM Requester", "ADC-HISTORIC-STATS-USER-GROUP", "CERT-AEP-USER-GROUP", "CLM Auditor", "admin usergroup", ]}},{$set:{"preShipped":true}})
  2. To enable the setting that hides OOB user groups, execute the following script:
    db.getCollection('avx_app_metadata').insertOne({
    "_id": "BE_PLATFORM_HIDE_PRESHIPPED_USERGROUPS",
    "description": "Hide preshipped usergroups in inventory",
    "subsystem": "platform",
    "value": "true"
    });
  3. Restart all platform core pod.
    All the usergroups which is set to preshipped - true will be hidden in Platform > Identity > Usergroups inventory and RBAC > Usergroups. However, it will be visible in all other places where usergroups are present.
To Revert the changes if required run query below.
db.getCollection('avx_app_metadata').remove({_id :'BE_PLATFORM_HIDE_PRESHIPPED_USERGROUPS'})