How to grant permissions to only one task by task_id

Hi at all,
I want to grant a user authorizations, but only to one task by the task_id.
Can I just use the task_id as the ressource id?
Thankful for any help on this :slight_smile: