Permission conditions won't work in board WebItem / WebSection

Hello,

I’m developing a new feature that requires a custom permission granted by the admin in order to use it.
The feature involves a new WebSection and WebItems on the board (location=jira.agile.board.tools).

The problem is that none of the permission conditions seems to work in this constellation.
I’ve defined a project permission and a global permission and tried them both separately.

Note that if I’m changing the location to the project side bar, it works perfectly.
My assumption is that project permission doesn’t work because a board can include more than one project.
However, I see no reason why global permission would not work.

I would be grateful if you cloud explain me how to get one of the permissions working or let me know if you have a different solution for delegating Lead developers this ability.

Here is an example atlassian connect JSON:

{
  "key": "my-example-app",
  "name": "My Example App",
  "description": "My Example App",
  "baseUrl": "{{localBaseUrl}}",
  "authentication": {
    "type": "jwt"
  },
  "lifecycle": {
    "installed": "/installed"
  },
  "scopes": ["READ"],
  "enableLicensing": true,
  "modules": {
    "jiraProjectPermissions": [
      {
        "description": {
          "value": "Ability to use the feature"
        },
        "category": "projects",
        "name": {
          "value": "Example Project Permission"
        },
        "key": "example-project-permission"
      }
    ],
    "jiraGlobalPermissions": [
      {
        "key": "example-global-permission",
        "description": {
          "value": "Ability to use the feature"
        },
        "name": {
          "value": "Example Global Permission"
        },
        "anonymousAllowed": false,
        "defaultGrants": ["JIRA-ADMINISTRATORS"]
      }
    ],
    "webItems": [
      {
        "key": "my-example-app-board-a-link",
        "location": "my-example-app-board-feature",
        "name": {
          "value": "Feature A"
        },
        "conditions": [
          {
            "condition": "has_global_permission",
            "params": {
              "permission": "my-example-app__example-global-permission"
            }
          }
        ],
        "target": {
          "type": "dialogmodule",
          "options": {
            "key": "my-example-app-board-feature-new-dialog"
          }
        }
      },
      {
        "key": "my-example-app-board-feature-b-link",
        "location": "my-example-app-board-feature",
        "name": {
          "value": "Feature B"
        },
        "conditions": [
          {
            "condition": "has_project_permission",
            "params": {
              "permission": "my-example-app__example-project-permission"
            }
          }
        ],
        "target": {
          "type": "dialogmodule",
          "options": {
            "key": "my-example-app-board-feature-new-dialog"
          }
        }
      }
    ],
    "webSections": [
      {
        "key": "my-example-app-board-feature",
        "location": "jira.agile.board.tools",
        "name": {
          "value": "Feature"
        },
        "conditions": [
          {
            "condition": "user_is_logged_in"
          }
        ]
      }
    ],
    "dialogs": [
      {
        "key": "my-example-app-board-feature-new-dialog",
        "url": "dialog?boardId={board.id}",
        "context": "addon",
        "options": {
          "size": "medium"
        }
      }
    ]
  }
}

Thanks,
Roey