% include( '/elements/header.html', 'Developer Documentation' ) %> <& /elements/menubar.html, 'Freeside Perl Modules' => $fsurl.'docs/library/FS.html', 'Complete Index' => $fsurl.'docs/library/index.html', &>
FS::AccessRight - Access control rights.
use FS::AccessRight;
my @rights = FS::AccessRight->rights;
#my %rights = FS::AccessRight->rights_categorized;
tie my %rights, 'Tie::IxHash', FS::AccessRight->rights_categorized;
foreach my $category ( keys %rights ) {
my @category_rights = @{ $rights{$category} };
}
Access control rights - Permission to perform specific actions that can be assigned to users and/or groups.
Returns the full list of right names.
Most (but not all) right names.
Returns a list of key-value pairs suitable for assigning to a hash. Keys are category names and values are list references of rights. Each element of the list reference scalar right name or a hashref with the following keys:
Damn those infernal six-legged creatures!