Authorize Task by its definition Key

I’m trying to authorize a group to do some action only to specific task with specific definition id. Is this possible?

I thought this was easily given out of the box with camunda auth system. Is it?

I have many processes with lanes (that we can consider like groups of people doing different things.). From this point of view every lane/group must see and act only on specific tasks.

The alternative is to do it with task assignment, inside the process definition, but this is not configurable externally from the process itself dinamically (i.e. if I want to change the group for all tasks).