Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Database Information



Database Name
Database Type
Collection Name
%tenant_code%_uracMongoDBgroups


Record Explanation




Field NameTypeMandatoryUniqueIndexedDescription
_idMongo IDYESYESYESMongo Record ID
codeStringYESYESYESGroup Code
nameStringYESNONOGroup Name
descriptionStringYESNONOGroup Description
configObjectNONONOGroup configuration
tenantObjectYESNONO



Field NameTypeMandatoryUniqueIndexedDescription
idStringYESYESNOTenant ID
codeStringYESYESNOTenant Code


lockedBooleanNONONOGroup is Locked



 Sample



Code Block
languagejs
titleRecord Sample
var data = {
    "_id": ObjectId('5d382063be668052c9cab94e'),
    "locked": true,
    "code": "owner",
    "owner": true,
    "name": "Owner Group",
    "description": "this is the owner group that owns the dashboard",
    "config": {
        "allowedPackages": {
            "DSBRD": [
                "DSBRD_OWNER"
            ]
        }
    },
    "tenant": {
        "id": "5c0e74ba9acc3c5a84a51259",
        "code": "TES0"
    }
};