Closed (duplicate)
Project:
Google Sitemap
Version:
master
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
23 Apr 2006 at 00:05 UTC
Updated:
7 Oct 2007 at 19:50 UTC
gsitemap lists sites which are not accessible for an anonymous user...
this shouldnt be...
I attached a small patch which excludes this nodes.
But be warned: I dont know how much time this costs...
This was just a fast solution I dont know if it is the best...
| Comment | File | Size | Author |
|---|---|---|---|
| no_access.patch.txt | 975 bytes | Tobias Maier |
Comments
Comment #1
Tobias Maier commentedComment #2
twohills commentedI came up with exactly the same hack :-) Note you have a typo in your patch: spelling of "continue".
This doesn't seem to work for all node types, e.g project issues are slipping through. I'm still digging to find out why...
Comment #3
SamAMac commentedHmmm. My guess is that certain things don't properly implement hook_sql, so the db_rewrite_sql call doesn't exclude them.
I will do some investigating of these other modules, but I'd rather avoid anything that would increase the running time if I can avoid it. There are already problems with exceeding maximum execution time on large sites.
Comment #4
darren ohSet issue 132503 to duplicate of this issue.
Comment #5
darren ohI enabled organic groups access control, logged out, and loaded the site map. Nodes which were set to be viewed only by group members were not included. This was with the code from the DRUPAL-5 branch. I wonder, have the people who are complaining enabled access control and logged out before viewing the site map?
Comment #6
darren ohDuplicate of issue 140291.