function node_gallery_set_imagecache_permissions in Node Gallery 6.3
3 calls to node_gallery_set_imagecache_permissions()
- node_gallery_install in ./
node_gallery.install - Implements hook_install()
- node_gallery_update_6100 in ./
node_gallery.install - Implements hook_update_N() Directly installing the default imagecache presets
- node_gallery_update_6300 in ./
node_gallery.install - MAJOR UPGRADE - please don't blindly update from 2.x to 3.x! Your data will migrate, but some of your settings and most of your theming will need to be redone.
File
- ./
node_gallery.install, line 510 - Install, update and uninstall functions for the node_gallery module.
Code
function node_gallery_set_imagecache_permissions() {
$perms = array(
'view imagecache node-gallery-cover',
'view imagecache node-gallery-thumbnail',
'view imagecache node-gallery-display',
'view imagecache node-gallery-admin-thumbnail',
);
_node_gallery_give_all_users_permission($perms);
}