path: root/README_devel_node_access.txt
diff options
authorDave Cohen2006-03-10 05:52:16 (GMT)
committerDave Cohen2006-03-10 05:52:16 (GMT)
commit361dbb7642cd9a7d8ae0a3d577e1ac84cd268ed5 (patch)
treea745b9a11432d291c8c247ce6c8be5465c6072a5 /README_devel_node_access.txt
parent580dc2a9911a94a86c2352c663332aa132036392 (diff)
Added devel_node_access module. Gives developers feedback as to what the node_access table contains.
Diffstat (limited to 'README_devel_node_access.txt')
1 files changed, 43 insertions, 0 deletions
diff --git a/README_devel_node_access.txt b/README_devel_node_access.txt
new file mode 100644
index 0000000..236304b
--- /dev/null
+++ b/README_devel_node_access.txt
@@ -0,0 +1,43 @@
+This module contains tools for developers using access control modules
+to restrict access to some nodes. It is intended to help catch some
+common mistakes and provide feedback to confirm that restricted nodes
+are in fact visible only to the intended users.
+Provides a summary page which queries the node_access table and
+reports common mistakes such as the presence of Drupal's default entry
+which grants all users read access to all nodes. Also reports the
+presence of nodes not represented in node_access table. This may
+occur when an access control module is installed after nodes have
+already been created.
+Provides a block which shows all node_access entries for the nodes
+shown on a given page. This gives developers a quick check to see
+that grants are provided as they should be. HINT: configure this
+block to appear in page footers (not sidebars) as the table it
+displays is wide.
+If Views module is installed, allows browsing of nodes by realm,
+including those nodes not in the node_access table (NULL realm).
+Things I'd like to see but haven't had time to do:
+* Automatically solve common problems. I.e. delete the "all" realm
+ entry, and automatically save all nodes not in the node_access table.
+* Nicer feedback indicating whether nodes are visible to the public or
+ not. I.e. use color coding or icons.
+* Summary does not differentiate between view grants and other types
+ of grants. I personally use node_access only for view grants so I'm
+ not sure exactly what else it should show.
+Dave Cohen AKA yogadex on