Developer Menu Items

By default, the Developer menu group is not enabled for users with the 'collaborator' role. Here is an example of how to change the default behavior of Cloud CMS to allow Developer menu options for users with the 'collaborator' role.

We could use the following configuration:

{
    "config": {
        "blocks": [
            {
                "evaluator": "context-project",
                "config": {
                    "project-context": {
                        "items": [
                            {
                                "key": "project/developers/heading",
                                "allowAuthority": [
                                    "collaborator"
                                ],
                                "items": [
                                    {
                                        "key": "project/developers/graphql",
                                        "allowAuthority": [
                                            "collaborator"
                                        ]
                                    },
                                    {
                                        "key": "project/developers/query",
                                        "allowAuthority": [
                                            "collaborator"
                                        ]
                                    },
                                    {
                                        "key": "project/rules",
                                        "allowAuthority": [
                                            "collaborator"
                                        ]
                                    }
                                ]
                            }
                        ]
                    }
                }
            }
        ]
    },
    "enabled": true
}