project-context

[
  {
    "evaluator": "context-project",
    "config": {
      "project-context": {
        "items": [
          {
            "key": "project/developers/heading",
            "title": "Developers",
            "order": 10000,
            "header": true,
            "allowAuthority": [
              "manager"
            ],
            "items": [
              {
                "key": "project/developers/query",
                "title": "Query",
                "uri": "#/projects/{projectId}/query",
                "iconClass": "fa fa-database",
                "allowAuthority": [
                  "manager"
                ]
              },
              {
                "key": "project/developers/graphql",
                "title": "GraphQL",
                "uri": "#/projects/{projectId}/graphql",
                "iconClass": "icomoon-graphql",
                "allowAuthority": [
                  "manager"
                ]
              },
              {
                "key": "project/rules",
                "title": "Rules",
                "uri": "#/projects/{projectId}/rules",
                "iconClass": "fa fa-file-code-o",
                "allowAuthority": [
                  "manager"
                ]
              }
            ]
          }
        ]
      }
    }
  },
  {
    "evaluator": "and",
    "condition": [
      {
        "evaluator": "context-project"
      }
    ],
    "config": {
      "project-context": {
        "items": [
          {
            "key": "project/explore/heading",
            "items": [
              {
                "key": "project/linked-content",
                "title": "Linked Content",
                "uri": "#/projects/{projectId}/links",
                "iconClass": "fa fa-link"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "evaluator": "context-project",
    "config": {
      "project-context": {
        "items": [
          {
            "key": "project/explore/heading",
            "items": [
              {
                "key": "project/model",
                "title": "Content Model",
                "uri": "#/projects/{projectId}/model/types",
                "iconClass": "fa fa-map-o",
                "order": 100
              }
            ]
          }
        ]
      }
    }
  },
  {
    "evaluator": "and",
    "condition": [
      {
        "evaluator": "context-project"
      },
      {
        "evaluator": "project-publishing-enabled"
      }
    ],
    "config": {
      "project-context": {
        "items": [
          {
            "key": "project/explore/heading",
            "items": [
              {
                "key": "project/publishing",
                "title": "Publishing",
                "uri": "#/projects/{projectId}/publishing",
                "iconClass": "typcn typcn-arrow-shuffle"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "evaluator": "and",
    "condition": [
      {
        "evaluator": "context-project"
      },
      {
        "evaluator": "project-releases-enabled"
      }
    ],
    "config": {
      "project-context": {
        "items": [
          {
            "key": "project/explore/heading",
            "items": [
              {
                "key": "project/releases",
                "title": "Releases",
                "uri": "#/projects/{projectId}/releases",
                "iconClass": "fa fa-calendar"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "evaluator": "and",
    "condition": [
      {
        "evaluator": "context-project"
      },
      {
        "evaluator": "project-workspaces-enabled"
      }
    ],
    "config": {
      "project-context": {
        "items": [
          {
            "key": "project/explore/heading",
            "items": [
              {
                "key": "project/workspaces",
                "title": "Workspaces",
                "uri": "#/projects/{projectId}/workspaces",
                "iconClass": "icon icomoon2-workspace"
              }
            ]
          }
        ]
      }
    }
  },
  {
    "evaluator": "context-project",
    "config": {
      "project-context": {
        "items": [
          {
            "key": "project/dashboard",
            "title": "Project Dashboard",
            "uri": "#/projects/{projectId}",
            "cssClass": "dashboard-link",
            "order": 1000,
            "dashboardHeader": true,
            "iconClass": "fa fa-dashboard"
          },
          {
            "key": "project/content/heading",
            "title": "Work",
            "order": 2000,
            "header": true,
            "allowPermission": [
              "read"
            ],
            "items": [
              {
                "key": "project/content",
                "title": "Content",
                "uri": "#/projects/{projectId}/content",
                "iconClass": "fa fa-pencil"
              },
              {
                "key": "project/datalists",
                "title": "Lists",
                "uri": "#/projects/{projectId}/datalists",
                "iconClass": "fa fa-list-alt"
              },
              {
                "key": "project/documents",
                "title": "Folders",
                "uri": "#/projects/{projectId}/documents",
                "iconClass": "fa fa-folder-open-o"
              },
              {
                "key": "project/tags",
                "title": "Tags",
                "uri": "#/projects/{projectId}/tags",
                "iconClass": "fa fa-tags"
              }
            ]
          },
          {
            "key": "project/explore/heading",
            "title": "Explore",
            "order": 3000,
            "header": true,
            "allowAuthority": [
              "manager"
            ],
            "items": [
              {
                "key": "project/dataviews",
                "title": "Views",
                "uri": "#/projects/{projectId}/dataviews",
                "iconClass": "fa fa-object-group",
                "allowAuthority": [
                  "collaborator",
                  "manager"
                ]
              }
            ]
          }
        ]
      }
    }
  }
]```