Since today I recognized that if a user wants to delete an activity on their profile they get access denied.
Couldn't see that you have changed anything in that direction (newest dev version).
By the way the activity privacy settings tab isn't shown anymore.

Couldn't remember that I've made any changes in that direction.
Maybe you could offer any solution, because I couldn't find any.

Thx for your great work of the first module and the much better second branch.

Comments

Scott Reynolds’s picture

Title: Users 'delete' link -> access denied » Users can't delete their own activity even though the link is displayed
Category: support » bug

In order to delete an Activity, the user must have "administer activity" permission. Thats why the Access Denied.

As far as the privacy settings tab not should create a separate issue for that.

Changing the title to reflect the new bug. It should be implemented the following way

Write a menu_access callback that takes as argument the aid. It will compare the aid's uid to the GLOBAL['user'] && 'manage own activity settings' || 'administer activity'

Should be a really straight forward patch

SyKce’s picture

Thanks for the quick answer, sorry for the late comment.

I'll try to implement this, when I've got a little bit more time and my site is finished.

But thx a lot for the solution.

Scott Reynolds’s picture

Status: Active » Fixed

Ended up being a lil more involved but looks good to me now
http://drupal.org/cvs?commit=298942

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.