You are viewing documentation for RT 4.4.2, which is end-of-life and no longer supported. The current release is 6.0.4 (view the current version of this page).
RT supports upgrading from all older versions. See the README for instructions or contact us for assistance.
RT supports upgrading from all older versions. See the README for instructions or contact us for assistance.
NAME
RT::Record::Role::Rights - Common methods for records which can provide rights
DESCRIPTION
REQUIRES
RT::Record::Role
PROVIDES
AddRight CATEGORY, RIGHT, DESCRIPTION
Adds the given rights to the list of possible rights. This method should be called during server startup, not at runtime.
AvailableRights
Returns a hashref of available rights for this object. The keys are the right names and the values are a description of what the rights do.
RightCategories
Returns a hashref where the keys are rights for this type of object and the values are the category (General, Staff, Admin) the right falls into.
← Back to index