[Rt-commit] rt branch, 4.2/user-transactions-privileged-groups, repushed

Dustin Graves dustin at bestpractical.com
Thu Jun 9 13:40:07 EDT 2016


The branch 4.2/user-transactions-privileged-groups was deleted and repushed:
       was 068faac12273437b9ad83c38f5424b8605a1c18e
       now a6d5c8750ed15fde76f4d2dda5c409417e683a96

1:  59801ee ! 1:  8df67c5 log a transaction when setting or unsetting Privileged status on a User
    @@ -5,22 +5,6 @@
     diff --git a/lib/RT/User.pm b/lib/RT/User.pm
     --- a/lib/RT/User.pm
     +++ b/lib/RT/User.pm
    -@@
    -         $self->_NewTransaction( Type => "Create" );
    -     }
    - 
    -+    if ( $privileged ) {
    -+        $self->_NewTransaction(
    -+            Type => 'Set',
    -+            Field     => 'Privileged',
    -+            NewValue  => 1,
    -+            OldValue  => 0,
    -+        );
    -+    }
    -+
    -     $RT::Handle->Commit;
    - 
    -     return ( $id, $self->loc('User created') );
     @@
              }
              my ($status, $msg) = $priv->_AddMember( InsideTransaction => 1, PrincipalId => $principal);
2:  068faac < -:  ------- log a transaction when adding a User to a Group or removing them from a Group
-:  ------- > 2:  a6d5c87 log transactions when adding/removing a User/Group to a Group



More information about the rt-commit mailing list