documents-list-buttons

[
  {
    "evaluator": "document-is-file",
    "condition": true,
    "config": {
      "documents-list-buttons": []
    }
  },
  {
    "evaluator": "document-is-folder",
    "condition": true,
    "config": {
      "documents-list-buttons": [
        {
          "key": "new",
          "title": "Create...",
          "iconClass": "fa fa-magic",
          "align": "left",
          "allowPermission": [
            "read"
          ],
          "buttons": [
            {
              "key": "new_folder",
              "title": "Create a Folder",
              "iconClass": "fa fa-folder-o",
              "align": "left",
              "action": "new_folder",
              "allowPermission": [
                "create_subobjects"
              ]
            },
            {
              "key": "new_document",
              "title": "Create a Document",
              "iconClass": "fa fa-file-o",
              "align": "left",
              "action": "create_document",
              "allowPermission": [
                "create_subobjects"
              ]
            },
            {
              "key": "new_text_document",
              "title": "Create a Text File",
              "iconClass": "fa fa-file-text-o",
              "align": "left",
              "action": "create_text_document",
              "allowPermission": [
                "create_subobjects"
              ]
            },
            {
              "key": "upload",
              "title": "Upload Files",
              "iconClass": "fa fa-cloud-upload",
              "align": "left",
              "action": "upload_document",
              "allowPermission": [
                "create_subobjects"
              ]
            }
          ]
        },
        {
          "key": "view_rules",
          "title": "Rules...",
          "iconClass": "fa fa-file-code-o",
          "align": "left",
          "action": "view_rules",
          "allowAuthority": [
            "collaborator",
            "manager"
          ]
        },
        {
          "key": "view_details",
          "title": "View Properties...",
          "iconClass": "fa fa-list",
          "align": "left",
          "action": "view_details",
          "allowPermission": [
            "read"
          ]
        }
      ]
    }
  }
]```