diff --git a/node_gallery_api.module b/node_gallery_api.module
index 7adc334..1629f09 100644
--- a/node_gallery_api.module
+++ b/node_gallery_api.module
@@ -192,6 +192,18 @@ function node_gallery_api_menu() {
 }
 
 /**
+ * Implements hook_permission()
+ */
+function node_gallery_api_permission() {
+  return array(
+    NODE_GALLERY_PERM_ADMIN_GALLERY => array(
+      'title' => t('Administer Node Gallery Settings'),
+      'description' => t('Create Node Gallery relationship types and administer settings.'),
+    ),
+  );
+}
+
+/**
  * Access function for uploads.
  */
 function node_gallery_api_upload_access($gallery, $item_type) {
