Opened 14 years ago
Closed 14 years ago
#2770 closed defect (bug) (fixed)
Delete others activity in my profile
Reported by: | Ezd | Owned by: | |
---|---|---|---|
Milestone: | 1.5 | Priority: | normal |
Severity: | Version: | ||
Component: | Core | Keywords: | |
Cc: |
Description
Hi,
Don't know if this has been made on purpose or not but if I goto my "Following" tab here:
http://testbp.org/members/ezcali/activity/following/
I can actually delete activity by other users just like under the "Personal" tab. But NOT in "Groups", "Favorites" and the latest favorite by Andrew Wayne in the "@ezcali Mentions".
Shouldn't the delete option go through all tabs or maybe it shouldn't be allowed to delete stuff inside the "Following" tab in the first place?
Attachments (1)
Change History (4)
#2
@
14 years ago
This is specifically a problem with the Followers plugin, but it points to an improper use of is_item_admin.
Have a look at 2770-1.patch. It checks against $bp->is_item_admin && $bp->is_single_item so that is_item_admin is only relevant in the places where it was meant to work, ie on single items like groups.
The thing that bugs is that I thought it was only my own activity that I could delete from the site. Now I'm actually able to delete others activity too, in my profile.