Access rights bug

misja - September 23, 2008 - 16:08
Project:Node2Node
Version:6.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Nobody except root admin cannot create links to nodes, even there were correct access rights in role section.
The bug is here:
File node2node.module. Somewhere near 270 line (i have modified file many times, so i do not know the number of real line).

FIND:
<?
if (node_access($node,'edit')) {
?>

REPLACE:
<?
if (node_access('update',$node)) {
?>

#1

andypost - November 15, 2008 - 16:55
Status:active» needs review

Here the patch

AttachmentSize
access.patch 756 bytes

#2

Steve Lockwood - November 15, 2008 - 17:12
Status:needs review» fixed

Thanks for the patch guys - I'm making a new version now.

I'm finding I don't have much time to maintain this module - any assistance would be welcome. If interested I will add you to the maintainers list - please let me know.

Steve

#3

System Message - November 29, 2008 - 17:25
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.