How to get Filter Permissions using camunda api?

hi,
I have create a filter in TaskList , and define Permission for it like this:

But when I call api (http://localhost:8080/engine-rest/filter?itemCount=true) to get that filter, it does not show permission. How can I get Filter Permission using api?

{
    "id": "c823e0ca-073c-11ed-b5c4-444553544f53",
    "resourceType": "Task",
    "name": "test3",
    "owner": null,
    "query": {
      "taskVariables": [
        
      ],
      "processVariables": [
        
      ],
      "caseInstanceVariables": [
        
      ],
      "orQueries": [
        
      ]
    },
    "properties": {
      "color": "#555555",
      "showUndefinedVariable": false,
      "refresh": false,
      "priority": 0
    },
    "itemCount": 6
  }

Thanks

camunda 7.17.2

Hi @amir133,

An authorization object with the resource Id attribute set to the filter Id is created automatically for each added permission. (Open “Filter Authorizations” view of the admin app to view created authorizations)

The below REST call retrieves all authorizations for a specific filter (resourceId query param should be set to the filter Id)

1 Like