NAME
Kernel::System::DataValidation::Validator::Ticket::Permission::QueueID – Validator that verifies a given QueueID.
PUBLIC INTERFACE
Provides a Check method, that will be called by the Kernel::System::DataValidation backend.
Example()
Returns an example of a possible value to be verified.
Check()
Lookups if the provided UserID has specific permission the given QueueID in the database. For more information about the queue backend, please refer to Kernel::System::Queue.
my $True = $Validator->Check(
Arguments => [
UserID => 123, # (required) UserID
PermissionType => 'create', # (required) 'ro', 'rw', 'create', etc.
],
Value => 123, # QueueID
);
