I was trying to give the authenticated user the permission to delete his own images through the ib interface (Delete Button to show up).
Well this cannot be possible even if i checked all the permissions checkboxes in admin/user/permissions ...

Trying to find out what is wrong i found that:

Line 473 in imagebrowser.module is:

if(user_access('edit images')) {

This should be:

if(user_access('edit own images')) {

in order for the permissions to work.

Thanks for this fantastic module.

Comments

jdelaune’s picture

Assigned: Unassigned » jdelaune
Status: Active » Reviewed & tested by the community

Fantastic thanks for spotting this.

jdelaune’s picture

Status: Reviewed & tested by the community » Fixed

I had to work on this a bit more so that if you had the permission edit any images then this would still work etc. Cheers.

Status: Fixed » Closed (fixed)

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