[Rt-commit] r10562 - rt/branches/3.999-DANGEROUS/lib/RT/Model
ruz at bestpractical.com
ruz at bestpractical.com
Tue Jan 29 17:13:40 EST 2008
Author: ruz
Date: Tue Jan 29 17:13:40 2008
New Revision: 10562
Modified:
rt/branches/3.999-DANGEROUS/lib/RT/Model/ACE.pm
rt/branches/3.999-DANGEROUS/lib/RT/Model/Group.pm
rt/branches/3.999-DANGEROUS/lib/RT/Model/Queue.pm
Log:
* some missing AvailableRights lowering
Modified: rt/branches/3.999-DANGEROUS/lib/RT/Model/ACE.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Model/ACE.pm (original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Model/ACE.pm Tue Jan 29 17:13:40 2008
@@ -298,7 +298,7 @@
$args{'right_name'} = $canonic_name;
#check if it's a valid right_name
- if ( $args{'Object'}->can('AvailableRights') ) {
+ if ( $args{'Object'}->can('available_rights') ) {
unless (
exists $args{'Object'}
->available_rights->{ $args{'right_name'} } )
Modified: rt/branches/3.999-DANGEROUS/lib/RT/Model/Group.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Model/Group.pm (original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Model/Group.pm Tue Jan 29 17:13:40 2008
@@ -66,7 +66,7 @@
$RT::Model::ACE::LOWERCASERIGHTNAMES{ lc $right } = $right;
}
-=head2 AvailableRights
+=head2 available_rights
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
Modified: rt/branches/3.999-DANGEROUS/lib/RT/Model/Queue.pm
==============================================================================
--- rt/branches/3.999-DANGEROUS/lib/RT/Model/Queue.pm (original)
+++ rt/branches/3.999-DANGEROUS/lib/RT/Model/Queue.pm Tue Jan 29 17:13:40 2008
@@ -197,7 +197,7 @@
return $self->SUPER::_delete_link(%args);
}
-=head2 AvailableRights
+=head2 available_rights
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
More information about the Rt-commit
mailing list