Having a way to extend panel_node_access() would be useful.

CommentFileSizeAuthor
#1 panels-n609654.patch941 bytesdamienmckenna

Comments

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new941 bytes

Here's a patch that adds hook_panel_node_access() to let this be extended.

damienmckenna’s picture

This is another patch from Datacaliber.

merlinofchaos’s picture

Status: Needs review » Needs work

I'm not sure I like this. The problem, of course, is Drupal's node access system itself. It doesn't really allow node access to be changed. Having one node type with a special hook doesn't seem like a proper solution.

The panel node module isn't too complicated. I'm thinking maybe the answer is to try and distill as much of it down to an API as possible to make it so that people who need more control over the nodes can create their own panels node modules. (This would allow multiple node types that can be used with Panels, anyway).

Letharion’s picture

Status: Needs work » Closed (won't fix)

In an effort to clean up the Panels issue queue, I'm closing a number of old issues that have not recieved attention or work for quite some time. This doesn't mean there's something wrong with the issue itself, only that we need to focus the limit resources we have on the more active or recent issues.
If you are either still the problem mentioned, or you are interested in the functionality of a closed issue, just re-open it with a patch, reproducible error description, or other relevant information.