[buddypress-trac] [BuddyPress Trac] #8675: invites.php should query the displaued user not the logged in users invites

buddypress-trac noreply at wordpress.org
Thu Apr 7 06:39:13 UTC 2022


#8675: invites.php should query the displaued user not the logged in users invites
------------------------------------+---------------------
 Reporter:  shawfactor              |       Owner:  (none)
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  11.0.0
Component:  Groups                  |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+---------------------

Comment (by oztaser):

 Hi @imath,

 The problem occurs in `/members/someuser/groups/invites/` page. We give
 view access to users who can edit settings but we show them their group
 invites not displayed user's. To see more detail you can look
 `BP_Groups_Component` class and see how we setup navigations.

 To reproduce:
 * logged-in as an admin user
 * send group invite to some random user
 * go it's group invites page (/members/someuser/groups/invites/), you'll
 see the page and maybe some invites but its your invites not displayed
 user.

 Before the patch: https://imgur.com/huuoLXI
 After the patch: https://imgur.com/IZTYmU2

 I hope this helps :)

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8675#comment:4>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list