I am trying to understand what do you mean by restrictions ; Can you help me by adding a bit more details about specific problem that you are trying to solve?
I assume you are looking to set restrictions for a particular ticket. The agents API has an attribute ticket_scope
that can be closer. Is this right? If not do correct me.