Hello,
My Taxonomy Access permissions are not working right. The problem is somewhat like this:
Imagine I have user roles Teacher and Student. I have a category (taxonomy module) called "Edit" with terms Teacher and Student. The permissions say that if Edit=Teacher then a Student cannot edit that page. The problem is that even when a page is set to Edit=Teacher a Student can edit. Note however that an anonymous user cannot edit the page.
I reality the roles in question are different, but it's easier to explain if I call them Teacher and Student.
Anyways, the permissions broke in the move to Drupal 5. I just checked the old Drupal 4.7 site and on *that* site the permissions work. I checked the permissions on Drupal 5 and they look fine:
1) I go to admin/user/taxonomy_access 2) I select "edit" on the "Student" role. 3) I go to the "Edit" category (taxonomy). 4) On the row "Teacher" (this is the category term) under "Update" it is set to "Deny".
That should be everything, right? I don't understand why it doesn't work. Any suggestions would be welcome.
Daniel.
Nevermind!
Sorry for the spam. It never fails, spend 3 hours on a problem and the moment you ask you find the answer. The problem was not with Taxonomy Access at all. Drupal 5 has a new permissions "edit page content" and if it is activated it supersedes whatever Taxonomy Access says and allows the person to edit all pages regardless. It looks like if I just remove this setting then everything works correctly. The Student role cannot edit pages set to Teacher but they can still edit pages set to Student.
I just didn't realize how the two access modules played together.
Thanks.
Daniel Carrera wrote:
Hello,
My Taxonomy Access permissions are not working right. The problem is somewhat like this:
Imagine I have user roles Teacher and Student. I have a category (taxonomy module) called "Edit" with terms Teacher and Student. The permissions say that if Edit=Teacher then a Student cannot edit that page. The problem is that even when a page is set to Edit=Teacher a Student can edit. Note however that an anonymous user cannot edit the page.
I reality the roles in question are different, but it's easier to explain if I call them Teacher and Student.
Anyways, the permissions broke in the move to Drupal 5. I just checked the old Drupal 4.7 site and on *that* site the permissions work. I checked the permissions on Drupal 5 and they look fine:
- I go to admin/user/taxonomy_access
- I select "edit" on the "Student" role.
- I go to the "Edit" category (taxonomy).
- On the row "Teacher" (this is the category term) under "Update" it is
set to "Deny".
That should be everything, right? I don't understand why it doesn't work. Any suggestions would be welcome.
Daniel.