CHANGELOG.txt 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. For complete changelog, see:
  2. http://drupalcode.org/project/taxonomy_access.git/log/refs/heads/7.x-1.x
  3. Taxonomy Access 7.x-1.x-dev, xxxx-xx-xx
  4. ---------------------------------------
  5. Taxonomy Access 7.x-1.0, 2015-09-18
  6. ---------------------------------------
  7. o The return value of taxonomy_access_global_defaults() has changed. Callers
  8. may use _taxonomy_access_format_grant_record() to format each element of the
  9. return array for hook_node_access_records().
  10. o The following constants have been added:
  11. - TAXONOMY_ACCESS_GLOBAL_DEFAULT = 0
  12. - TAXONOMY_ACCESS_VOCABULARY_DEFAULT = 0
  13. - TAXONOMY_ACCESS_NODE_ALLOW = 1
  14. - TAXONOMY_ACCESS_NODE_IGNORE = 0
  15. - TAXONOMY_ACCESS_NODE_DENY = 2
  16. - TAXONOMY_ACCESS_GLOBAL_DEFAULT = 0
  17. - TAXONOMY_ACCESS_GLOBAL_DEFAULT = 0
  18. o Drupal core 7.8 is now explicitly required.
  19. o The "Add tag" (create) grant now defaults to "Allow" for anonymous and
  20. authenticated users upon installation. (Existing installations will not be
  21. affected.)
  22. Taxonomy Access 7.x-1.x-rc1, 2011-09-09
  23. ---------------------------------------
  24. o Administrative paths have changed.
  25. o Renamed grant realm from 'term_access' to 'taxonomy_access_role'.
  26. o Field widgets are now automatically hidden if the user cannot add any terms.
  27. o The vocabulary default for the "Add tag" grant (create op) now controls
  28. whether new terms can be created in the vocabulary in autocomplete fields.
  29. o Moved "Add tag" (create op) functionality from hook_form_alter() to
  30. hook_field_widget_form_alter().
  31. o Terms disallowed by "Add tag" (create op) are disabled rather than removed.
  32. This may be a configurable setting in the future.
  33. o "Add tag" (create op) now allows selection of allowed child terms when
  34. the parent term is disabled.
  35. o Optimized grant update functionality to reduce queries.
  36. o Renamed several API functions:
  37. - from: taxonomy_access_grant_update()
  38. to: taxonomy_access_set_term_grants()
  39. - from: taxonomy_access_defaults_update()
  40. to: taxonomy_access_set_default_grants()
  41. - form: taxonomy_access_recursive_grant_update()
  42. to: taxonomy_access_set_recursive_grants()
  43. - from: taxonomy_access_delete_roles()
  44. to: taxonomy_access_delete_role_grants()
  45. - from: taxonomy_access_delete_terms()
  46. to: taxonomy_access_delete_term_grants()
  47. - from: taxonomy_access_delete_defaults()
  48. to: taxonomy_access_delete_default_grants()
  49. o Renamed "List" and "Create" grants to "View tag" and "Add tag" for clarity.
  50. o Automatically update node access as needed on shutdown.
  51. Hooks should merely add their list of nodes to
  52. taxonomy_access_affected_nodes() to be processed at the end of the request.
  53. o Provide record deletion API.