RT 4.4.1 Documentation

RT::Record::Role::Rights

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