Closed (fixed)
Project:
Taxonomy Term Permissions
Version:
7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Mar 2012 at 15:19 UTC
Updated:
2 Nov 2012 at 08:21 UTC
I have created several roles in relation with taxonomy terms. For each taxonomy term, I set the permissions so that only the administrator and the dedicated role are allowed to use the term. However, neither the administrator nor the dedicated user are not able to see the term and no other user can see it.
However, if I set the permission using the username instead of the role then it works but I have many users so using the username is not possible, I need to be able to use the role permission.
Comments
Comment #1
vdeparday commentedSo I found out why I thought it was not working. When setting the permissions by role, it is written "Allowed Role" so you would think that the role you check are the roles that are allowed to see the tags. But it is actually working backwards, the roles that are checked are the roles that cannot see the tags.
Either you should change the wording or you should make it so that the checked role are actually allowed and not restricted.
I think the second option (allowing role rather than restricting) would make more sense because as it stands, every time you add a new role you have to go through all the taxonomy to restrict the tags to this new role.
Comment #2
vdeparday commentedComment #3
misc commentedThis work as designed - Roles that are allowed to use the terms can refer them.
Comment #4
dshields commentedI would have to agree with vdeparday..
Where it reads "Select a role to allow all members of that role access to this term", one would expect any roles to have access to this taxonomy term.
In my experience, this results in the exact opposite of what is described.
When I check "user role 1", every user on the site is granted access except for those users who have the "user role 1" role.
Comment #5
dshields commentedBy checking "authenticated user" (which is essentially a parent user role for all user roles), all user roles should be checked by default, as is the behaviour on drupal's permissions configuration page.
If "authenticated user" is unchecked, then each child role which is checked, to use my previous example: "user role 1" should be given access to this taxonomy term while unchecked user roles should not.
Are we not clearly understanding this functionality?
Comment #6
dshields commentedThis actually works properly, if the module is hacked as described here.
If anyone has any other feedback, I'd love to hear it.
Comment #7
misc commentedMark this as fixed as #701746: Permissions settings have no effect is committed to latest dev.