NAME
RTx::Report - an RT Report object
SYNOPSIS
use RTx::Report;
DESCRIPTION
METHODS
AvailableRights
Returns a hash of available rights for this object. The keys are the right names and the values are a description of what the rights do
Create
Create takes the name of the new report If you pass the ACL check, it creates the report and returns its report id.
SetDisabled
Takes a boolean. 1 will cause this report to no longer be avaialble for tickets. 0 will re-enable this report
Load
Takes either a numerical id or a textual Name and loads the specified report.
ValidateName NAME
Takes a report name. Returns true if it's an ok name for a new report. Returns undef if there's already a report by that name.
CurrentUserHasRight
Takes one argument. A textual string with the name of the right we want to check. Returns true if the current user has that right for this report. Returns undef otherwise.
HasRight
Takes a param hash with the fields 'Right' and 'Principal'. Principal defaults to the current user. Returns true if the principal has that right for this report. Returns undef otherwise.