[buddypress-trac] [BuddyPress Trac] #7023: Administrator not able to delete user notifications

buddypress-trac noreply at wordpress.org
Mon Apr 18 11:44:40 UTC 2016

#7023: Administrator not able to delete user notifications
 Reporter:  VibeThemes               |      Owner:
     Type:  defect (bug)             |     Status:  new
 Priority:  normal                   |  Milestone:  Awaiting Review
Component:  Component -              |    Version:  2.5.0
  Notifications                      |   Keywords:  has-patch has-
 Severity:  normal                   |  screenshots
 A site administrator can not delete or mark read/unread user
 Desired Behaviour'''
 Site administrators should have full access to user profiles and should be
 able to mark notifications read/unread/delete from user profiles.

 == Steps to replicate : ==

 * Login as Site administrator in your BuddyPress site
 * Open any user profile
 * Go to the Notifications section
 * Click on "Read" or "Delete" link.

 You'll see a message "There was a problem in deleting/reading that

 Please refer attached screenshots for further description.

 '''Suggested Fix'''

 I have attached two patches for the Github repository

 a. Function check_access of BP_Notifications_Notification should have a
 check for Site administrator or users who can edit the users. (Patch 1 )

 b. Function bp_get_notifications_unread_permalink and
 bp_get_notifications_read_permalink should use the function
 bp_displayed_user_domain instead of bp_loggedin_user_domain (Patch 2)

Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7023>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac

More information about the buddypress-trac mailing list