After I submit photos in a gallery (as an authenticated user -- not admin), I get sent to a page where:
Access Denied
You are not authorized to access this page.
The URL is www.example.com/node/#/import
However, when i submit galleries as Admin, I don't get the Access Denied error and I get returned to the URL www.example.com/node/#
I thought it was a permissions issue, but I have all this set for authenticated user:
acidfree mass import [x]
can upload to any album [ ]
create acidfree albums [x]
edit own acidfree albums [x]
get a per-user album [x]
use album contents mode [x]
If i have permissions to access and edit my own albums, why would i be redirected to an Access Denied page after mass import?
Was there something i missed?
Comments
Comment #1
lakyljuk commentedHi,
Been reporting this here http://drupal.org/node/241242, but got no answer at all. I am glad I am not the only one suffering from this.
Comment #2
roleychiu commentedWeird.. For some reason I don't get the error anymore. Granted, I uninstalled and reinstalled and did a combination of alterations and it's gone. Unfortunately I don't know if it was my re-installing that fixed it or my random alterations that inadvertantly fixed it.
If you need a working acidfree module and want to use my modifications to it, you can see it working here:
http://www.stirmagazine.com/user/4
Comment #3
roleychiu commentedActually... I think i know what fixed it..
The access denied issue was a result of regular users attempting to submit albums to create albums to the "master album".. i.e... the root album. If users' don't have the 'can upload to any album' permission, then they cannot initially mass import anything straight off the bat.
Here's the fix I did:.. This dude made a module that helps create an initial album upon login if there is none to begin with
http://drupal.org/node/144636
install that.
I did a bit of editing to the module, including making the default album unpublished by default. This effectivly creates a root album for each user.. and the access denied error goes poof*
hope this helps.
Comment #4
mwheinz commentedClosing. No activity in 2 years.
Note: In my own experience, these kinds of errors indicate a problem with the administration of role-based permissions. Also, verify the root album has "Allow other users to post to this album".