is it possible to use the regular cck reference field to link gallery and image types?
my needs (example)
I'm going to handle access on gallery level ("ACL" and "Content Access"). The images shall inherit the access from the gallery. This would be possible with the module "Node access node reference".

Comments

scroogie’s picture

While that would theoratically be possible, and I actually thought about that already, it would be too much of a refactoring to be possible in our current development. The data model of CCK in Drupal 6 also has some disadvantages that would give us a hard life in situations that are currently easy to handle.

justintime’s picture

Title: use of regular CCK reference field for more features » Node Gallery + Content Access and inheritance
Project: Node Gallery » Node Gallery Access

Glad I'm not the only one who's thought this would be a good mix.

Node Gallery Access was originally written to provide basic access control for Node Gallery. Some months ago, it hit me that NGA was trying to reinvent the wheel, and it would never be able to compete with Content Access + ACL.

WARNING - NGA 3.x-dev is broken, please don't use it

In the coming weeks I'll be working on code that will allow NGA to basically "fall through" to whatever node access module the site admin wants. Essentially, NGA's purpose will be to cause the parent gallery's node permissions to be inherited down to the individual images.

True-pal - I haven't seen you before in the issue queue, so to fill you in, @scroogie and I simultaneously got very busy with day job tasks in recent months. That's why NGA dev has kinda stalled, but I fully intend to finish it.

I can't commit to it, but I hope in the coming 2 or 3 weeks I'll finally have some time to start focusing on my contrib projects again.

justintime’s picture

I got some time on the plane to work on this. I've pushed a new branch named "content_access" to the d.o git repository. You can download and install it by following the directions at http://drupal.org/node/679254/git-instructions.

This absolutely has bugs in it, and should not be used for anything other than development installs. However, it's been working pretty well for me, and I'd love any feedback.

justintime’s picture

Status: Active » Fixed

I just pushed up a huge commit that works for me in all my tests. See #1247098: How to use Node Gallery Access, and please report any successes or failures. This is essentially a complete rewrite of the module.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.