diff --git a/node_gallery_api.module b/node_gallery_api.module index 7fe852f..578cad4 100644 --- a/node_gallery_api.module +++ b/node_gallery_api.module @@ -200,6 +200,14 @@ function node_gallery_api_permission() { 'title' => t('Administer Node Gallery Settings'), 'description' => t('Create Node Gallery relationship types and administer settings.'), ), + NODE_GALLERY_PERM_VIEW_GALLERY => array( + 'title' => t('View All Galleries'), + 'description' => t('View any gallery'), + ), + NODE_GALLERY_PERM_UPLOAD_TO_ALL_GALLERIES => array( + 'title' => t('Upload to All Galleries'), + 'description' => t('Upload to any gallery, regardless if they were the creator'), + ), ); }