You are here

function tac_lite_update_7001 in Taxonomy Access Control Lite 7

The tac_lite.module now supports an option to apply access by taxonomy to unpublished nodes as well as published content. The default behavior is that tac_lite has no effect on unpublished content. You should review each of your tac_lite schemes and, optionally, adjust this setting before rebuilding node access permissions.

File

./tac_lite.install, line 102
Installation functions for tac_lite. TODO: All updates need proper error handling and responses

Code

function tac_lite_update_7001() {

  //  See https://drupal.org/node/1918272 for details.
  drupal_set_message(t('Please review each of your <a href="!url">taxonomy access control schemes</a>.  If necessary, adjust the new option to affect access to unpublished content.  Then rebuild content access permissions.', array(
    '!url' => url('admin/config/people/tac_lite'),
  )));
  node_access_needs_rebuild(TRUE);
}