Closed (fixed)
Project:
Node Gallery
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
29 Oct 2009 at 07:25 UTC
Updated:
31 May 2010 at 09:30 UTC
Description says it all. Presently, you cannot filter out protected contents from views.
Comments
Comment #1
justintime commentedI think my patch from #612122: node_gallery_access doesn't let users with 'access protected contents' or 'edit protected contents' view password galleries may have fixed this. I don't have a clean install of the release to duplicate this issue with, but I can tell you that on my local install with the patch above installed, my custom views "just work". If the user accessing the view has permission to view the gallery, it shows up in the view. If I'm anonymous and hit the view, I only see public galleries.
Comment #2
dbeall commentedI'm a dummy , maybe some one can fill me in on the string to use for checkout of all the new stuff in cvs for when things are changing like this without patching each file many times? or waiting for Drupal to cycle the commits..
cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib checkout -r -d node_gallery contributions/modules/node_galleryComment #3
justintime commentedThat string above will check out the HEAD branch, which node_gallery isn't using any more. Use this string to checkout the branch kmonty's commiting to:
cvs -z6 -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib checkout -d node_gallery -r DRUPAL-6--2 contributions/modules/node_gallery/Once you do that initial checkout, to do an incremental update, just go into the directory, and run:
cvs udpate -dPr DRUPAL-6--2You can apply your patches to that. If you're doing testing of patches, it may be best to do a cvs update, then make a copy of that folder named node_gallery_cvs. Then you can apply your patch to node_gallery, and test. Once done, remove the node_gallery folder, and replace it with node_gallery_cvs. This will prevent your patches from conflicting with CVS.
If you're on Windows, once upon a time I used TortoiseCVS with a lot of success.
Comment #4
kmontyAlso, the tarball is now current.
Comment #5
dbeall commentedThanks for the info.. yep, using xp2001(it's a keeper) because Ubuntu is clunky, but i do have 2 boxes with it. Have wincvs,eclipse,cygwin,gitbash,winmerge and some others; but finding understandable instructions to use them is near impossible. When the smart people write the docs, they leave out too much.
Comment #6
dddave commentedGuess so...