Either 'can upload to any album' is checked or not users can upload photos to all albums.

Comments

vhmauery’s picture

Status: Active » Fixed

yup, that was some improper filtering. Fixed in CVS.

anantagati’s picture

Status: Fixed » Active

I downloaded latest HEAD and it is still not working.

vhmauery’s picture

Status: Active » Fixed

I said it was fixed in CVS. From the time I commit to CVS to the point it is in a download-able tarball is anywhere from 0-12 hours. The cron job that generates the snapshots runs every 12 hours. So try again in 10 hours.

If you can't wait, do a cvs checkout or download the files from cvs.drupal.org.

anantagati’s picture

Status: Fixed » Active

But I checked it from CVS repository. 2 files were changes but it was not still working.

vhmauery’s picture

Status: Active » Closed (fixed)

Can upload to any album is an access privilege. This makes it so the user can post to any album whether the person owns the album or the album is shared. The logic to tell whether or not a person can post to an album if they are not 'can post to any album', is this:

return ($node->share || $node->uid == $user->uid);

So as you can see, if the node is marked as share, the user can post despite its access privileges.

From what I can see, share is on by default. I should make that an acidfree setting. But this issue is closed.