When navigating to 'Taxonomy Role Access', to review the list of user roles and term references, 'anonymous user' is listed. 'authenticated user' is not.
The README states:
'TAXONOMY ROLE ACCESS
--------------------
Taxonomy Role Access allows to control access to taxonomy terms.
Works for each user role (except administrator) and is configurable
for each taxonomy term separately.
If taxonomy term is set to be available for the user role "authenticated user",
it will not be possible to deny access to it for any other user role that is
derived from the "authenticated user" role. But if taxonomy term is denied
for "authenticated user" role, it can be allowed for the derived user roles
to have access to it.'
Perhaps I overlooked something - it happens more than I would like :-)
The README either needs to state "Works for each user role (except administrator and authenticated user) and is configurable
for each taxonomy term separately" OR authenticated user needs to be added to the list of roles for TRA.
There are many instances in which I would prefer to keep something from anonymous users, but allow authenticated users to access it.
Regards.
Comments
Comment #1
GaëlGYes, this behavior is very strange. I never saw any other module making this assumption found in code:
As it prevented simple authenticated users from accessing nodes, I had to comment out the 3 lines where it's written
unset($roles[2]);
. Now it seems to work.Comment #2
martins.bertins CreditAttribution: martins.bertins commentedNow I can't remember what was the reason I made such assumptions for leaving out that user role. Made it show all available user roles.
Just commited the changes to the repository, so check out the latest dev build.
Comment #3
martins.bertins CreditAttribution: martins.bertins commented