Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Regards,
I have been working on a project using this module, after playing around and assigning some permissions i realize that on this function node_gallery_user_access the parameter $gallery sometimes is a string, which is really confuse for some assignments, this might have be what you actually think when you create the module, however is confusing for some developers and totally not helping to solve any trouble, what i did was create a really simple patch but i'd like to know if there are a particular reason because you guys did that.
thanks in advance.
Comment | File | Size | Author |
---|---|---|---|
#1 | gallery-not-object-1930134-1.patch | 107 bytes | tatewaky |
Comments
Comment #1
tatewaky CreditAttribution: tatewaky commentedHere is the patch i mention
Comment #2
zengenuity CreditAttribution: zengenuity commentedThe developers of the 6.x version of the module have left the project. I have taken it over to work on the 7.x series, so I don't know why they would have chosen to code the function that way. Your patch seems reasonable, but I'm not going to commit it because I'm basically only doing security fixes on the 6.x series at this point, and I don't want to break anything. Thanks for posting it though. It could help other users.