Hello

When I tri to access to a protected node trough a Symlinks Node (created with NodeSymlinks 7.x-1.0-beta1), I only access to a page wich displayed "You are not authorized to access this page"

Thanks

Comments

izus’s picture

Title: NodeSymlinks and protected node » Support NodeSymlinks
Category: Bug report » Feature request
Issue summary: View changes

maybe it's just the same issue as https://drupal.org/node/1649298
but as i didn't test it yet, i'll just mak it as a Feature request to support NodeSymlink

grimreaper’s picture

Assigned: Unassigned » grimreaper
Status: Active » Needs review
StatusFileSize
new576 bytes

Hello,

Here is a patch that can solve it.

Thanks for the review.

izus’s picture

+++ b/protected_node.module
@@ -185,10 +185,14 @@
+    // Support for NodeSymlinks module.

I suggest you wrap this in a if(modules_exists('nodesymlinks'))
to better reflect why we needed it

izus’s picture

Status: Needs review » Needs work
grimreaper’s picture

Status: Needs work » Needs review
StatusFileSize
new673 bytes

Ok, I apply this idea to the webform support too.

izus’s picture

Assigned: grimreaper » Unassigned
Status: Needs review » Fixed

merged
thanks

Status: Fixed » Closed (fixed)

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

andyrigby’s picture

Status: Closed (fixed) » Needs work

nodesymlinks_support-1630486-5.patch and associated commit http://drupalcode.org/project/protected_node.git/blobdiff/2698979f782a54... contain a typo. modules_exists() is an undefined function.

PHP Fatal error: Call to undefined function modules_exists() in /path/to/site/sites/all/modules/protected_node/protected_node.module on line 190

izus’s picture

Status: Needs work » Fixed

Hi,
Thanks for reporting.
This is now fixed by http://drupalcode.org/project/protected_node.git/blobdiff/b7b9de3d80bba5...

Thanks again

Status: Fixed » Closed (fixed)

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