Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Auth User with full access to Node-Module and Node-Gallery gets Access denied when trying to add or edit pictures.
Adding, Editing and Modifying Albums ist working fine though.
>> Node Gallery Access is disabled and I'm not willing to use it.
Maybe I'm missing some access rights but I don't know what
Comments
Comment #1
tripsmarter.com CreditAttribution: tripsmarter.com commentedI have the same issue, Drupal 6.6. Node Gallery Access has been on and off, same result.
Edit: I actually turned on all permissions for auth users, rebuilt and tried to upload an image. Still didn't work.
Comment #2
cgraefe CreditAttribution: cgraefe commentedI experienced the same issue on Drupal 6.6. It looks like the function node_gallery_user_access() is quite broken. In its current form, it tries to use a non existing property "gallery_config" from a gallery object that does not exist either. The code below seems to fix the problem. I'm not sure if it is entirely correct, though. To me, it still looks like it won't distinguish between "edit own" and "edit any" privileges. But then again, I'm still new to Drupal...
Comment #3
wilson98 CreditAttribution: wilson98 commentedthanks, this is a bug, check the alpha2 release, it should be fixed.
Comment #4
kmontyAppears fixed to me too