You are here

function _node_gallery_give_all_users_permission in Node Gallery 6.3

2 calls to _node_gallery_give_all_users_permission()
node_gallery_set_default_view_node_gallery_permissions in ./node_gallery.install
node_gallery_set_imagecache_permissions in ./node_gallery.install

File

./node_gallery.install, line 495
Install, update and uninstall functions for the node_gallery module.

Code

function _node_gallery_give_all_users_permission($permissions) {
  $rids = array(
    DRUPAL_ANONYMOUS_RID,
    DRUPAL_AUTHENTICATED_RID,
  );
  foreach ($rids as $rid) {
    _node_gallery_add_permissions($rid, $permissions);
  }
}