Closed (fixed)
Project:
Taxonomy Access Control
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2007 at 14:35 UTC
Updated:
15 May 2009 at 04:11 UTC
hi,
i used TAC on my drupal 5 site for some time.
now, I disabled it, and site members can't edit their own nodes anymore,
it shows access denied messages.
i already tried reset the access node permissions in admin/content/node-settings,
how to modify the node_access table, to give users the access permission to edit own nodes?
thanks,
enky.
Comments
Comment #1
keve commentedCan they 'view' the specified nodes?
Did you set "Edit own {content-type}' permission for given user roles?
This permission is checked before getting permission values from table node_access.
Comment #2
enky commentedyes, users can view the nodes, but, can not edit their own...
user roles have permissions set to edit own content,
this problem only after disabling the TAC,
Comment #3
keve commentedI do not understand.
In node_access(), permission of "Edit own " is checked before checking values in table node_access. Therefore, even if you deny access by TAC to given node, user will get the permission.
You can check if TAC is diabled correcty: see values in table node_access in database, do you see any values w/ realm of "term_access"? (Normally you should not).
Comment #4
enky commentedhi,
also, only some node types have this problem,
other nodetypes allow node authors to edit,
do i have to modify the node_access table, to give users the access permission to edit own nodes?
Comment #5
enky commentednode_access table has no realm of "term_access".
i am going crazy with this issue, :(
Comment #6
keve commentedIf the module of that content type does not allow "edit own content" or any edit permission, then table node_access is checked for permissions. (Try to talk with developer to insert permission "edit own content" for thta module.)
Try to reinstall TAC and add "Update" permissions for specified terms.
Comment #7
enky commentedall node types are defined by CCK, while some types are update by authors, others are not,
permissions are set correct,
it was fine before, once i uninstalled TAC completely, this problem started,
i can try installing the tac, give update permissions, and then uninstall tac, right?
Comment #8
cpugeniusmv commentedSounds like you needed to Rebuild Permissions (node_access).
Please reopen if this is still an issue.