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

keve’s picture

Can 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.

enky’s picture

yes, 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,

keve’s picture

I 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).

enky’s picture

hi,

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?

enky’s picture

node_access table has no realm of "term_access".

i am going crazy with this issue, :(

keve’s picture

If 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.

enky’s picture

all 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?

cpugeniusmv’s picture

Status: Active » Closed (fixed)

Sounds like you needed to Rebuild Permissions (node_access).

Please reopen if this is still an issue.