{
    "controller": "controllers/user",
    "model": "models/user",
    "acl": "acl/user",
    "views": {
        "detail": "views/user/detail",
        "list": "views/user/list"
    },
    "recordViews": {
        "detail": "views/user/record/detail",
        "detailSmall": "views/user/record/detail-quick",
        "edit": "views/user/record/edit",
        "editSmall": "views/user/record/edit-quick",
        "list": "views/user/record/list"
    },
    "modalViews": {
        "selectFollowers": "views/user/modals/select-followers",
        "detail": "views/user/modals/detail",
        "massUpdate": "views/user/modals/mass-update"
    },
    "rowActionDefs": {
        "changeTeamPosition": {
            "labelTranslation": "User.actions.changePosition",
            "handler": "handlers/user/change-team-position-row-action",
            "groupIndex": 3
        }
    },
    "defaultSidePanel": {
        "detail": {
            "name": "default",
            "label": false,
            "view": "views/user/record/panels/default-side",
            "isForm": true
        },
        "detailSmall": {
            "name": "default",
            "label": false,
            "view": "views/user/record/panels/default-side",
            "isForm": true
        },
        "edit": {
            "name": "default",
            "label": false,
            "view": "views/user/record/panels/default-side",
            "isForm": true
        },
        "editSmall": {
            "name": "default",
            "label": false,
            "view": "views/user/record/panels/default-side",
            "isForm": true
        }
    },
    "defaultSidePanelFieldLists": {
        "detail": [
            "avatar",
            "createdAt",
            "lastAccess",
            "auth2FA"
        ],
        "detailSmall": [
            "avatar",
            "lastAccess"
        ],
        "edit": [
            "avatar"
        ],
        "editSmall": [
            "avatar"
        ]
    },
    "sidePanels": {
        "detail": [
            {
                "name": "activities",
                "reference": "activities"
            },
            {
                "name": "history",
                "reference": "history"
            },
            {
                "name": "tasks",
                "reference": "tasks",
                "view": "crm:views/user/record/panels/tasks"
            }
        ],
        "detailSmall": [
            {
                "name": "activities",
                "reference": "activities"
            },
            {
                "name": "history",
                "reference": "history"
            },
            {
                "name": "tasks",
                "reference": "tasks",
                "view": "crm:views/user/record/panels/tasks"
            }
        ]
    },
    "relationshipPanels": {
        "targetLists": {
            "create": false,
            "rowActionsView": "crm:views/record/row-actions/relationship-target",
            "layout": "listForTarget",
            "view": "crm:views/record/panels/target-lists"
        }
    },
    "layoutDefaultSidePanelDisabled": true,
    "filterList": [
        "active"
    ],
    "boolFilterList": [
        "onlyMyTeam"
    ],
    "selectDefaultFilters": {
        "filter": "active"
    },
    "selectRecords": {
        "orderBy": "userNameOwnFirst"
    },
    "iconClass": "fas fa-user-circle",
    "dynamicLogic": {
        "fields": {
            "avatarColor": {
                "visible": {
                    "conditionGroup": [
                        {
                            "type": "equals",
                            "attribute": "avatarId",
                            "value": null,
                            "data": {
                                "field": "avatar"
                            }
                        },
                        {
                            "type": "in",
                            "attribute": "type",
                            "value": [
                                "regular",
                                "admin",
                                "api"
                            ]
                        }
                    ]
                }
            }
        },
        "options": {
            "authMethod": [
                {
                    "optionList": [
                        "ApiKey",
                        "Hmac"
                    ],
                    "conditionGroup": [
                        {
                            "type": "equals",
                            "attribute": "type",
                            "value": "api"
                        }
                    ]
                }
            ]
        }
    }
}
