I would like a access check for Node: nid, so that I can have node-specific panels.

Patch attached.

CommentFileSizeAuthor
ctools-access_check_nid.patch1.85 KBjenlampton
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jenlampton’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

Patch still works great on the latest version of ctools. Thanks @DamienMcKenna!

japerry’s picture

Status: Reviewed & tested by the community » Needs work
+++ b/plugins/access/nid.inc
@@ -0,0 +1,66 @@
+ * Plugin to provide access control based upon a parent term.
...
+ * Settings form for the 'by parent term' access plugin
...
+ * Check for node type and book location.

Comments need updating.

But I feel like there are better ways to do this by checking to see if a context exists? Not sure if we need an access plugin for this.