[Rt-commit] r8229 - rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT
ruz at bestpractical.com
ruz at bestpractical.com
Thu Jul 19 13:51:57 EDT 2007
Author: ruz
Date: Thu Jul 19 13:51:57 2007
New Revision: 8229
Modified:
rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/System.pm
Log:
* update docs
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/System.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/System.pm (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/System.pm Thu Jul 19 13:51:57 2007
@@ -99,9 +99,13 @@
=head2 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
-
-
+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.
+
+This method as well returns rights of other RT objects,
+like L<RT::Queue> or L<RT::Group>. To allow users to apply
+those rights globally.
=cut
@@ -112,7 +116,7 @@
my $group = RT::Group->new($RT::SystemUser);
my $cf = RT::CustomField->new($RT::SystemUser);
- my $qr =$queue->AvailableRights();
+ my $qr = $queue->AvailableRights();
my $gr = $group->AvailableRights();
my $cr = $cf->AvailableRights();
More information about the Rt-commit
mailing list