Logged in as the admin with uid 0, which supposedly overrides any authorization failures gives me an access denied when I try to create a child node useing the "Attach New Child Node" link.

This worked fine with the previous version (4.5.0) of the relativity module, but this CVS version has this one issue.

It I try to create the same node through the "Navigation -> Create Content -> Child Node" route, go to the parent, click "Attach Existing Child Node", it works fine and attaches without error.

Comments

javanaut’s picture

Assigned: Unassigned » javanaut

Thanks for pointing this out. I've fixed it on my dev machine and I'll commit the fix in a little while. I figure I should spend some more time clicking through it this time before sending it off to cvsland.

One of the things that I was doing that eventually caused this bug was overriding flexinode's node_access function so that when you look at 'node/add', there's no indication that you could even create a child node that requires a parent. When you went to node/add/type/parent/nid, however, you all of a sudden had 'create' privileges.

I think that fixing this problem generically will either involve a change to core or some manual menu overriding for all types that require a parent to exist.

javanaut’s picture

A fix was just submitted to CVS, please verify that this is fixed for you.

Aran Deltac’s picture

Works great!

I've set this bug to fixed.

javanaut’s picture