summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/node/node.module')
-rw-r--r--modules/node/node.module6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index 19c636fa7..5d8f3b5a7 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1649,6 +1649,12 @@ function _node_add_access() {
return TRUE;
}
}
+ if (user_access('administer content types')) {
+ // There are no content types defined that the user has permission to create,
+ // but the user does have the permission to administer the content types, so
+ // grant them access to the page anyway.
+ return TRUE;
+ }
return FALSE;
}