I need to restrict certain content to a certain group of users. For that purpose I installed the Taxonomy Access Control module

http://drupal.org/project/taxonomy_access

For my example we will disallow access to the article in the URL
http://demos.virtualorbis.com/drupal/?q=node/4
for visitors who are not logged in (anonymous users). In other words, we will disallow access to the category this article belongs to (the "Tecnologia"/"Software" category)

In the following links you will see how my configuration options screen looks like.

http://alejandrolengua.info/pantallazos/drupal/clipboard_drupal1.jpg
http://alejandrolengua.info/pantallazos/drupal/clipboard_drupal12.jpg

To me it looks like if access to anonymous user were not allowed. But if you can see this link (http://demos.virtualorbis.com/drupal/?q=node/4)
without being logged in, it means that it is not working properly.

Can somebody there help me?

Comments

Geary’s picture

There is a patch to taxonomy.module in the taxonomy_access folder. Did you install the patch?

alengua’s picture

Yes I did, but it does not work yet

Matthew OMalley’s picture

Mind letting me know how? The page you linked to now says "Page Not Found" (does that mean the security is doing that, or did you just delete that page).

I'm having the same problem with an installation of mine.

shouchen’s picture

You should create an issue against taxonomy_access describing the problem so the module maintainer will be aware and can provide help.
http://drupal.org/node/add/project_issue/taxonomy_access/bug
Make sure you set the version (4.6.0 or cvs) correctly when reporting the issue.

bonobo’s picture

taxonomy access control module in action, and getting a copy of an install with the module installed, patched, and working, I have set up a pre-configured site available for download:

http://www.funnymonkey.com/configured-site

Hope this helps.

Cheers,

bonobo

-------
http://www.funnymonkey.com
Tools for Teachers

alengua’s picture

Thanks for sharing your knowledge.

But how does your pack should be installed?

What is the sql script that should be executed to restore all your backup?

bonobo’s picture

In the database folder, you will find a file named class.sql. Use this file to create the database; this file contains all the settings that will create your configured, functioning school site. The database file class.sql has been tested with MySQL versions 4.1 and 4.0.

For more detailed instructions, go to: http://www.funnymonkey.com/install-class

I hope this helps.

Cheers,

bonobo

-------
http://www.funnymonkey.com
Tools for Teachers

alengua’s picture

Have just installed,
and will be trying it the whole day and night
after coming from my tennis match :)

However I have a doubt, in the class.tar.gz there is
a /modules directory in the same level as /class

why?

bonobo’s picture

I just downloaded and extracted the tarball, and in the version on the website the directory structure is intact -- ie, the modules directory is a subdirectory of class.

-class
--database
--files
--includes
--misc
--modules
--scripts
--sites
--themes
--tmp

If the modules file is not in this directory, you have one of two options:

1. Move it back to the right place, or
2. Download a fresh copy and start from there.

Hope this helps,

Cheers,

bonobo

-------
http://www.funnymonkey.com
Tools for Teachers

alengua’s picture

I have a doubt, I would like to have some groups of users: A B C

and create some content that should accesible (read-only) to only users of groups A B C and sometimes A+B or A+C

According with your experience is this possible with Taxonony Access Module?

bonobo’s picture

See the documentation here:
http://www.funnymonkey.com/how-to-groups

Cheers,

bonobo

-------
http://www.funnymonkey.com
Tools for Teachers

alengua’s picture

Hi!
Just wanted to let you know that I have managed to start using your custom Drupal Pack, and I certainly recommend it to
anyone that would like to have a Drupal installation faster, than fast :)

However I have a question, how could I have a tree menu
like the one on the left of your site. Is it dynamic?

bonobo’s picture

And, the methods described below are not exhaustive -- many more viable approaches are out there, but these approaches will handle a lot of navigational menu options.

There are several modules that create useful menus -- for 4.6, you can use one of several modules: Taxonomy Menu, Taxonomy_dhtml, or Taxonomy OTF, to name three of my personal favorites. For 4.7, they have included the functionality of Taxonomy OTF into core.

The blocks for the book module create a nice hierarchical menu automatically.

You can also create useful menus in blocks using the php block snippets from the handbook on drupal.org. The book-like navigation block could be helpful.

For the funnymonkey.com site, however, no such trickery :) I set up the menu you are asking about using the core functions of the menu module.

Thanks for the feedback, and glad to hear you're up and running.

Cheers,

Bill

-------
http://www.funnymonkey.com
Tools for Teachers

venkat-rk’s picture

For 4.7, they have included the functionality of Taxonomy OTF into core.

Did you actually mean the Menu on the Fly module? That is the one integrated into core for 4.7 and as far as I know, Taxonomy_OTF does not build navigational menus. Please correct me if I am wrong.

bonobo’s picture

I was typing faster than I can think -- and I type REALLY slow :)

Whoops.

Cheers,

Bill

-------
http://www.funnymonkey.com
Tools for Teachers

patrice’s picture

I have exactly the same problem.
I installed the patch.
When I published a node in a category which is restricted to a role. When I start the site without login I still see the node on the first page.
I work with Windows XP -Apache-PHP 4.3 and Drupal 4.6

Sorry i just forgot to enable the taxonomy access (by the way how do i erase this comment?)