Quantcast
Channel: Drupal Groups - access
Viewing all articles
Browse latest Browse all 22

Access problem with image gallery

$
0
0

Something is screwy with image gallery since I upgraded from Drupal 5 to 6. I only use image galleries on one site, huntresses.org, which is a family site. Anonymous users aren't supposed to see any content. I use front page to say that you have to register. When I upgraded from 5 to 6, the Images menu item started showing on huntresses.org for anonymous. It is the only item in the menu. Originally it let me click through the galleries and it would display the full images (the nodes). Now the images show in the galleries but the image nodes are no longer displayed. So I've made some progress.

I should point out --- this is not real important. No one was posting in the galleries but me. Everyone else just uses blog posts with attached images and I'm now using IMCE. So I can disable images and image_galleries. But I've been messing with this for a while and I don't understand what's wrong. I'm thinking about posting an issue.

Image gallery has been recently changed to use views. Version 6 is still beta.

I've been working through http://www.juliakm.com/drupal-permissions-issues-debugging-checklist
Permissions:
Image module: nothing checked for anonymous
node module:: access content not checked for anonymous
views: nothing checked for anonymous
Anonymous shouldn't see anything but the special front page.

At admin/settings/performance, I've cleared cache a few times. And I've cleared views cache at admin/build/views/tools a few times.
at admin/content/node-settings I've rebuilt permissions a few times.
I disabled and re-enabled image and image_galleries.

I upgraded from Image 6.x-1.0-beta1 to beta3, ran update.php, cleared caches again. I think that fixed the node access problem -- anonymous gets access denied when trying to view an image node, but you can work your way down through the galleries, seeing the smaller versions of the images.

Disabled images and image_galleries again. Cleared performance cache and views cache. Re-enabled images and image galleries.
Rebuilt permissions. [Rebuilding permissions screws up front page. I have to go back and reconfigure front page.]

There is a new module, http://drupal.org/project/image_gallery_access, but I think this is for controlling access so that users can view selected galleries. I'm afraid that if I install it the problem will get worse. I'd rather disable images and galleries. Well... I could try it. I took a backup of the database this afternoon.

I suspect something is wrong in the view, so I'm attaching a screen that shows the view.

AttachmentSize
image_gallery_view.doc137 KB

Viewing all articles
Browse latest Browse all 22

Trending Articles