You are viewing documentation for RT 5.0.3, an older supported release. The current release is 6.0.4 (view the current version of this page).
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.
Still need help?Get answers from the team behind Request Tracker.