[Rt-commit] rt branch, 4.4/selfservice-show-more-user-info, repushed

Maureen Mirville maureen at bestpractical.com
Tue Jun 26 12:13:37 EDT 2018


The branch 4.4/selfservice-show-more-user-info was deleted and repushed:
       was 1590016867f335b7d2b2692cc0af8c976c0ac2fd
       now ee6654dcb3d1eecf38f46a22473a4f39fc8e6148

1: 0c7220668 = 1: 0c7220668 Clean up SelfService code that is not being used
2: edc1fbfa2 ! 2: d572be462 Allow self service users varied access to their stored RT user information
    @@ -612,11 +612,12 @@
      
     -my @fields = qw(
     -        Lang Timezone
    -+    my @fields = qw(
    -+        Name Comments EmailAddress FreeformContactInfo Organization RealName
    -+        NickName Lang Gecos HomePhone WorkPhone MobilePhone PagerPhone Address1
    -+        Address2 City State Zip Country Timezone
    -     );
    +-    );
    ++  my @fields = qw(
    ++      Name Comments EmailAddress FreeformContactInfo Organization RealName
    ++      NickName Lang Gecos HomePhone WorkPhone MobilePhone PagerPhone Address1
    ++      Address2 City State Zip Country Timezone
    ++  );
      
     -$m->callback(
     +  $m->callback(
    @@ -635,10 +636,10 @@
          ARGSRef => \%ARGS,
     -);
     +  );
    -+
    + 
    +-if ( $Lang ) {
     +  push @results, ProcessObjectCustomFieldUpdates( ARGSRef => \%ARGS, Object => $user );
    - 
    --if ( $Lang ) {
    ++
     +  if ( $Lang ) {
          $session{'CurrentUser'}->LanguageHandle($Lang);
          $session{'CurrentUser'} = $session{'CurrentUser'}; # force writeback
3: 40f4d1c55 = 3: e75ee20c3 Remove ModifySelf rights check for Preferences tab in SelfService
4: 159001686 ! 4: ee6654dcb Add $SelfServiceUserPrefs config tests to verify SelfService display
    @@ -43,7 +43,7 @@
     +      my $nickname = 'user_a_nickname';
     +      $m->submit_form_ok({
     +        form_name  => 'EditAboutMe',
    -+        fields     => { NickName => $nickname,}
    ++        with_fields     => { NickName => $nickname,}
     +      }, 'Form submitted');
     +      $m->text_contains("NickName changed from (no value) to '$nickname'", "NickName updated");
     +    }



More information about the rt-commit mailing list