[Rt-commit] r14215 - in rt/branches/3.999-DANGEROUS: docs/design_docs share/html/Dashboards share/html/Ticket/Elements
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Thu Jul 17 09:16:51 EDT 2008
Author: sunnavy
Date: Thu Jul 17 09:16:51 2008
New Revision: 14215
Modified:
rt/branches/3.999-DANGEROUS/docs/design_docs/delegation
rt/branches/3.999-DANGEROUS/share/html/Dashboards/Queries.html
rt/branches/3.999-DANGEROUS/share/html/Elements/SelectOwner
rt/branches/3.999-DANGEROUS/share/html/Ticket/Elements/Tabs
Log:
Right => right, Object => object
Modified: rt/branches/3.999-DANGEROUS/docs/design_docs/delegation
==============================================================================
--- rt/branches/3.999-DANGEROUS/docs/design_docs/delegation (original)
+++ rt/branches/3.999-DANGEROUS/docs/design_docs/delegation Thu Jul 17 09:16:51 2008
@@ -18,7 +18,7 @@
In user.pm
-=item has_right { Right => 'somerightname', object_type => 'Group', object_id => 'group_id'
+=item has_right { right => 'somerightname', object_type => 'Group', object_id => 'group_id'
Returns true if this user has the right 'somerightname' for
the group with id 'id'
Modified: rt/branches/3.999-DANGEROUS/share/html/Dashboards/Queries.html
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Dashboards/Queries.html (original)
+++ rt/branches/3.999-DANGEROUS/share/html/Dashboards/Queries.html Thu Jul 17 09:16:51 2008
@@ -103,8 +103,8 @@
my @objs = ($sys);
push @objs, RT::SavedSearches->new( current_user => Jifty->web->current_user )->_privacy_objects
- if Jifty->web->current_user->has_right( Right => 'LoadSavedSearch',
- Object => $RT::System );
+ if Jifty->web->current_user->has_right( right => 'LoadSavedSearch',
+ object => $RT::System );
for my $object (@objs) {
for ($m->comp("/Search/Elements/SearchesForObject", Object => $object)) {
Modified: rt/branches/3.999-DANGEROUS/share/html/Elements/SelectOwner
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Elements/SelectOwner (original)
+++ rt/branches/3.999-DANGEROUS/share/html/Elements/SelectOwner Thu Jul 17 09:16:51 2008
@@ -89,7 +89,7 @@
);
my $isSU = Jifty->web->current_user
- ->has_right( Right => 'SuperUser', object => RT->system );
+ ->has_right( right => 'SuperUser', object => RT->system );
foreach my $object (@objects) {
my $Users = RT::Model::UserCollection->new;
Modified: rt/branches/3.999-DANGEROUS/share/html/Ticket/Elements/Tabs
==============================================================================
--- rt/branches/3.999-DANGEROUS/share/html/Ticket/Elements/Tabs (original)
+++ rt/branches/3.999-DANGEROUS/share/html/Ticket/Elements/Tabs Thu Jul 17 09:16:51 2008
@@ -276,7 +276,7 @@
$current_tab = "Search/Results.html$args";
if ( Jifty->web->current_user
- ->has_right( Right => 'SuperUser', object => RT->system ) )
+ ->has_right( right => 'SuperUser', object => RT->system ) )
{
my $shred_args = $m->comp(
'/Elements/QueryString',
More information about the Rt-commit
mailing list