NAME
Kernel::WebApp::Util::Ticket::ACL::DynamicField – Helper class to apply ACLs for dynamic fields.
ApplyToSchema()
Applys ACLs to dynamic field schema.
$TicketACLDynamicField->ApplyToSchema(
Field => $DynamicField,
Schema => {...},
PossibleValuesParams => {
ObjectID => 123,
RequestData => {...},
Context => 'agent',
},
ACLParams => {
TicketData => {...},
TicketID => 123,
EndpointContext => 'abc',
UserIDKey => 'UserID',
UserIDValue => 123,
},
);
Returns a hash for the field schema.