[Rt-commit] rt branch, master, updated. rt-4.4.4-408-gf580c0168

? sunnavy sunnavy at bestpractical.com
Mon Oct 7 16:05:28 EDT 2019


The branch, master has been updated
       via  f580c01689e47e612ca15eb1b25c0f6e3ae217f1 (commit)
       via  21189118f35321ebf25b7bbd9a6b3bc0041f8c50 (commit)
       via  76b242a9001882078b0d12496a33c8454a1fedb9 (commit)
       via  2ca9f0fd28ca7a3374a16f350fb830a58e10adb9 (commit)
       via  cffba9fa05a2f0fdc7b4c0c3e201939d1a7f9b7f (commit)
       via  1e9b7c23581a5028ca65ac65523d2ca8494e83dc (commit)
       via  a07ffc4633fce6fd8d45d4765e1e4ca2165d4119 (commit)
       via  fbebfcd05e2365783fd710955b935f10da601f4e (commit)
       via  c39814910c6a29d685c2fa3f3548ad292efec2b3 (commit)
       via  37bb42b93c00b3916b5482a1e4562d0c7377da66 (commit)
       via  bb7d5370a1e56af384f82eec2d31131e42296858 (commit)
      from  18ed426b6409a0e20cff9006ea78293457371043 (commit)

Summary of changes:
 devel/docs/UPGRADING-4.6                           |   8 ++
 etc/RT_Config.pm.in                                | 101 +++++++++++++++++++-
 lib/RT/Group.pm                                    |  22 ++++-
 lib/RT/Groups.pm                                   | 104 +++++++++++++++++++++
 lib/RT/Interface/Web/MenuBuilder.pm                |  20 +++-
 lib/RT/System.pm                                   |   1 +
 lib/RT/URI/{asset.pm => group.pm}                  |  67 ++++++-------
 lib/RT/URI/{asset.pm => user.pm}                   |  65 +++++++------
 .../EditPassword => Admin/Elements/AddLinks}       |  51 +++++-----
 .../RequestUpdate => Admin/Elements/EditLinks}     |  79 ++++++++++------
 .../html/{Ticket => Admin/Groups}/ModifyLinks.html |  80 ++++++++++------
 share/html/Elements/AddLinks                       |   2 +
 share/html/Elements/{FindUser => FindGroup}        |   4 +-
 share/html/Elements/{GotoUser => GotoGroup}        |  24 ++---
 share/html/Elements/ShowPrincipal                  |   5 +-
 share/html/{User => Group}/Elements/AssetList      |  14 +--
 .../Elements/UserInfo => Group/Elements/GroupInfo} |   6 +-
 .../Elements/Portlets/ActiveTickets                |  10 +-
 .../{User => Group}/Elements/Portlets/CreateTicket |  20 ++--
 .../{User => Group}/Elements/Portlets/ExtraInfo    |   8 +-
 .../Elements/Portlets/GroupAssets}                 |   4 +-
 .../Elements/Portlets/InactiveTickets              |  10 +-
 share/html/{User => Group}/Elements/TicketList     |  22 +----
 share/html/{User => Group}/Search.html             |  55 +++++------
 share/html/{User => Group}/Summary.html            |  42 +++++----
 .../Elements/{MyRequests => MyGroupRequests}       |  45 ++++++++-
 share/html/SelfService/Elements/MyRequests         |   3 +-
 share/html/SelfService/index.html                  |  10 ++
 share/html/Ticket/Create.html                      |   7 +-
 share/html/Ticket/Display.html                     |  20 ++++
 t/web/group_create.t                               |   5 +-
 t/web/group_summary.t                              |  64 +++++++++++++
 32 files changed, 704 insertions(+), 274 deletions(-)
 copy lib/RT/URI/{asset.pm => group.pm} (72%)
 copy lib/RT/URI/{asset.pm => user.pm} (71%)
 copy share/html/{Elements/EditPassword => Admin/Elements/AddLinks} (62%)
 copy share/html/{SelfService/Elements/RequestUpdate => Admin/Elements/EditLinks} (59%)
 copy share/html/{Ticket => Admin/Groups}/ModifyLinks.html (50%)
 copy share/html/Elements/{FindUser => FindGroup} (96%)
 copy share/html/Elements/{GotoUser => GotoGroup} (76%)
 copy share/html/{User => Group}/Elements/AssetList (94%)
 copy share/html/{User/Elements/UserInfo => Group/Elements/GroupInfo} (96%)
 copy share/html/{User => Group}/Elements/Portlets/ActiveTickets (93%)
 copy share/html/{User => Group}/Elements/Portlets/CreateTicket (80%)
 copy share/html/{User => Group}/Elements/Portlets/ExtraInfo (87%)
 copy share/html/{User/Elements/Portlets/UserAssets => Group/Elements/Portlets/GroupAssets} (95%)
 copy share/html/{User => Group}/Elements/Portlets/InactiveTickets (93%)
 copy share/html/{User => Group}/Elements/TicketList (81%)
 copy share/html/{User => Group}/Search.html (66%)
 copy share/html/{User => Group}/Summary.html (68%)
 copy share/html/SelfService/Elements/{MyRequests => MyGroupRequests} (66%)
 create mode 100644 t/web/group_summary.t

- Log -----------------------------------------------------------------
commit 21189118f35321ebf25b7bbd9a6b3bc0041f8c50
Author: Jim Brandt <jbrandt at bestpractical.com>
Date:   Thu Oct 3 17:07:45 2019 -0400

    Make group self service a General right
    
    This right is specifically for Self Service, which is for
    unprivileged users, so it's not a right only for Staff.

diff --git a/lib/RT/System.pm b/lib/RT/System.pm
index d19be82c1..7670b91fb 100644
--- a/lib/RT/System.pm
+++ b/lib/RT/System.pm
@@ -93,7 +93,7 @@ __PACKAGE__->AddRight( Staff   => ShowGlobalTemplates => 'Show global templates'
 __PACKAGE__->AddRight( General => LoadSavedSearch     => 'Allow loading of saved searches'); # loc
 __PACKAGE__->AddRight( General => CreateSavedSearch   => 'Allow creation of saved searches'); # loc
 __PACKAGE__->AddRight( Admin   => ExecuteCode         => 'Allow writing Perl code in templates, scrips, etc'); # loc
-__PACKAGE__->AddRight( Staff   => SeeSelfServiceGroupTicket => 'See tickets for other group members in SelfService' ); # loc
+__PACKAGE__->AddRight( General => SeeSelfServiceGroupTicket => 'See tickets for other group members in SelfService' ); # loc
 
 =head2 AvailableRights
 

commit f580c01689e47e612ca15eb1b25c0f6e3ae217f1
Merge: 18ed426b6 21189118f
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Oct 8 03:55:02 2019 +0800

    Merge branch '4.6/core-group-management-extensions'

diff --cc devel/docs/UPGRADING-4.6
index 747e45e3d,0e9175793..77a8d8248
--- a/devel/docs/UPGRADING-4.6
+++ b/devel/docs/UPGRADING-4.6
@@@ -8,10 -8,12 +8,18 @@@ or local customizations.  It is not an 
  
  =item *
  
 +The default callback in C<Articles/Elements/IncludeArticle> provides a ticket
 +object. However, the template itself does not need this ticket object, so it
 +is no longer guaranteed to be loaded when it is passed.
 +
++=item *
++
+ New group options were added to the ticket listings pages in SelfService. With
+ the additions, the C<AfterMyRequests> callback is no longer at the bottom of the
+ page. If you previously used this callback to add to the bottom of the SelfService
+ page, a new callback C<AfterMyGroupRequests> is now available below the new group
+ ticket listing.
+ 
  =back
  
  =cut

-----------------------------------------------------------------------


More information about the rt-commit mailing list