Skip to main content
Version: Any 26

JobAclConfigApply

This job updates the visibility configuration on a set of documents.

Parameters​

{
"job_update_scan": "all",
"batch_size": 100
}

The job_update_scan parameter can take the following values:

  • all: applies the security on every document.
  • filtered: applies the security only on the documents matching a GQL predicate. Add a filter parameter holding the predicate, for instance standard.status = 'Approved'.
  • query: applies the security only on the documents matching a GQL query. Add a query parameter holding the full query.

The batch_size parameter limits the number of documents updated at a time.