Hello,
I searched for this issue, but found only one thread describing the opposite of my problem.

I have serveral nodes, that have public access and can be read fine by anyone. Anyone can use the search an the nodes are displayed on the search result page.

These nodes have a field called "tag" with taxonomy values.

When a user clicks on the tag, a new page i.e. "www.mydomain.com/taxonomy/term/37" is loaded. An here is the problem:

As admin user I see a list of all nodes containing the tag.

As an anonymous user the page is empty.

Is this a bug? I can´t find anything to allow "taxonomy terms result pages" for anonymous users.

Drupal 7.4, CA 7.x-1.x-dev

(Content Access Rules Integrations disabled)

Comments

GalainHH’s picture

When I disable content access, everything works correct.

wjaspers’s picture

GalainHH’s picture

No, this something different. As you can see, I was one of those provided Screenshots for the thread you mentioned.

The "taxonomy/term/ only for registered users" error is:
- Nodes are readable by anonymous user
- But the same nodes are not listet as a taxonomy term

This should not be the "realm" error described in #1213148: Access denied to all content for anonymous users

good_man’s picture

Status: Active » Needs review

I reverted that commit, can you retest it now?

GalainHH’s picture

I installed "7.x-1.2-beta1" but still no nodes are listet for anonymous users, when clicking on a taxonomy term.

Or should I have installed the "dev" Version?

hawkeye217’s picture

Running into this same issue with latest dev... No display of taxonomy/term pages for anonymous (or authenticated, in my case) users. Disabling the module returns everything to normal. Any solution?

hawkeye217’s picture

I have a few more tidbits of info to add - don't know how helpful they will be, but fwiw, here they are:

1) I am using views to override core's default /taxonomy/term view. Interestingly enough, the pager for the view still displays (and varies based on the taxonomy term selected), just none of the fields/content set up in the view (which seems to indicate the problem is with CA and not with views).
2) After enabling the debug module and checking out the queries for the taxonomy/term pages, one particular one seemed of interest.

This is the result when the CA module is enabled and the taxonomy term page displays no content:

mysql> SELECT COUNT(*) AS expression FROM node_access node_access WHERE (nid = '0') AND (grant_view >= '1') AND(( (gid = '0') AND (realm = 'all') )OR( (gid = '0') AND (realm = 'content_access_author') )OR( (gid = '1') AND (realm = 'content_access_rid') ));
+------------+
| expression |
+------------+
|          0 |
+------------+
1 row in set (0.00 sec)

I disabled CA and then ran the query again:

mysql> SELECT COUNT(*) AS expression FROM node_access node_access WHERE (nid = '0') AND (grant_view >= '1') AND(( (gid = '0') AND (realm = 'all') )OR( (gid = '0') AND (realm = 'content_access_author') )OR( (gid = '1') AND (realm = 'content_access_rid') ));
+------------+
| expression |
+------------+
|          1 |
+------------+
1 row in set (0.00 sec)

I am not sure if this information is helpful at all, but I figured I would add it to help you guys track the bug down (whether the bug is in the CA code or in my own brain...)

hawkeye217’s picture

Not sure about the OP, but apparently this was a views problem for me. The latest views 3.x-dev fixed my issue.

gisle’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

Closing, based on #8.