Issue with Adding "Non-Owner Permission" to Queue Templates

EP1
EP1 Member Posts: 2

Hi,

I love the new feature to set up queue templates. We have defined two at the moment but are stuck with the following issue.

We would like to add the property permission, also known as non-owner permission. I have looked up the meta definition of the queue template, and the property is available to use. Still, we get the error that the content does not comply with the schema: "/properties must not have additional properties."

Does anybody know how to tackle this?

Cheers Erik

Ps see attachment for setup

Answers

  • Tamimi
    Tamimi Member, Administrator, Employee Posts: 541 admin

    Hey @EP1 - I was able to have the following template with no issue… can you please try with this:

    {
      "accessType": "exclusive",
      "maxMsgSpoolUsage": 5000,
      "queueName": "TEST",
      "additionalProperties": false,
      "properties": {
        "permission": {
          "default": "no-access",
          "enum": ["no-access", "read-only", "consume"],
          "type": "string"
        },
        "accessType": {
          "default": "exclusive",
          "enum": [
            "exclusive",
            "non-exclusive"
          ]
        }
      }
    
    }
    

  • EP1
    EP1 Member Posts: 2

    Hi Tamimi,

    Still the same error.

    But I have discussed this with Joseph Lanoux and understand why the paramater was not added to the queue templates in event portal.

    Thanks, Erik