You are here

README.txt in Taxonomy Access Control 5.2

Same filename and directory in other branches
  1. 5 README.txt
  2. 6 README.txt
  3. 7 README.txt
-----------------------
GENERAL DESCRIPTION
-----------------------
This module allows you to set access permissions for various categories based
on user role.  

This works as a hook into node_access and follows the same general structure
as the node_access module.  It's got permissions for view, update and delete
for each category on the system.  


-----------------------
API functions
-----------------------

There are two ways you can check whether or not a user has
access for a given taxonomy.

First, you can call node_access() on a given node
and if taxonomy_access module is enabled it will take category permissions into
account when determining whether or not the user has access to the given node.

The second way is to call the function taxonomy_access() which takes two
parameters, an operation and a taxonomy, with a third optional paramater of a
userid to use instead of the current user. It returns whether or not the user
is authorized, almost identical to node_access().


-----------------------
DATABASE TABLES
-----------------------
Module creates two tables in database: 'term_access' and
'term_access_defaults'


-----------------------
HELP PAGES
-----------------------
For more information about how to control access permissions with the Taxonomy
Access Control module, see the module's help page (admin/help/taxonomy_access).

Also see, help page at drupal.org: http://drupal.org/node/31601

-----------------------
TROUBLESHOOTING:
-----------------------

When users can view/edit pages, they do not have permission:

1. Check if user role have 'administer nodes' permission.

2. Check if you have ANY 'node access' module installed on your system. 
    IMPORTANT: When using more 'node access' type module, 
      Permissions are ALWAYS OR-ed together.
      If one module grants permissions for a given user (role) for a node ,
      then user CAN view/edit/delete even if other module DENIES it.

3 Do a General Database Housekeeping
  (Tables: 'node_access','term_access' and 'term_access_defaults'):

  - First 'DISABLE', then 'RE-ENABLE' the 'Taxonomy Access Module' on page:
    "Administer >> Site building >> Modules".
    
  This will force the complete rebuild of the 'node_access' table.
  
4. For debugging, please install deve_node_access module (Devel module)
   This can show you some information about node_access values in 
   the database when viewing a node page.

5. Force rebuilding of the permissions cache (table 'node_access'):
    "Rebuild permissions" button on page: 
    "Administer >> Content Management >> Post settings".

    If the site is experiencing problems with permissions to content, you may
    have to rebuild the permissions cache. Possible causes for permission
    problems are disabling modules or configuration changes to permissions.
    Rebuilding will remove all privileges to posts, and replace them with
    permissions based on the current modules and settings.

-----------------------
UNINSTALL
-----------------------

1. After disabling module, you can make complete uninstall by choosing Taxonomy
   Access on page: "Administer >> Site building >> Modules >> Uninstall".

   This will remove all your settings of Taxonomy Access: variables and tables
   ('term_access' and 'term_access_defaults')

2. After uninstall, if the site is experiencing problems with permissions to
   content, you can rebuild the permission cache.
   See "Troubleshooting Section 5".

-----------------------
CONTACT
-----------------------

Please, send bug reports, feature requests, or other comments about Taxonomy
Access Control module: http://drupal.org/project/issues/taxonomy_access

You can also contact me personally:
Keve  ( http://drupal.org/user/13163/contact )

File

README.txt
View source
  1. -----------------------
  2. GENERAL DESCRIPTION
  3. -----------------------
  4. This module allows you to set access permissions for various categories based
  5. on user role.
  6. This works as a hook into node_access and follows the same general structure
  7. as the node_access module. It's got permissions for view, update and delete
  8. for each category on the system.
  9. -----------------------
  10. API functions
  11. -----------------------
  12. There are two ways you can check whether or not a user has
  13. access for a given taxonomy.
  14. First, you can call node_access() on a given node
  15. and if taxonomy_access module is enabled it will take category permissions into
  16. account when determining whether or not the user has access to the given node.
  17. The second way is to call the function taxonomy_access() which takes two
  18. parameters, an operation and a taxonomy, with a third optional paramater of a
  19. userid to use instead of the current user. It returns whether or not the user
  20. is authorized, almost identical to node_access().
  21. -----------------------
  22. DATABASE TABLES
  23. -----------------------
  24. Module creates two tables in database: 'term_access' and
  25. 'term_access_defaults'
  26. -----------------------
  27. HELP PAGES
  28. -----------------------
  29. For more information about how to control access permissions with the Taxonomy
  30. Access Control module, see the module's help page (admin/help/taxonomy_access).
  31. Also see, help page at drupal.org: http://drupal.org/node/31601
  32. -----------------------
  33. TROUBLESHOOTING:
  34. -----------------------
  35. When users can view/edit pages, they do not have permission:
  36. 1. Check if user role have 'administer nodes' permission.
  37. 2. Check if you have ANY 'node access' module installed on your system.
  38. IMPORTANT: When using more 'node access' type module,
  39. Permissions are ALWAYS OR-ed together.
  40. If one module grants permissions for a given user (role) for a node ,
  41. then user CAN view/edit/delete even if other module DENIES it.
  42. 3 Do a General Database Housekeeping
  43. (Tables: 'node_access','term_access' and 'term_access_defaults'):
  44. - First 'DISABLE', then 'RE-ENABLE' the 'Taxonomy Access Module' on page:
  45. "Administer >> Site building >> Modules".
  46. This will force the complete rebuild of the 'node_access' table.
  47. 4. For debugging, please install deve_node_access module (Devel module)
  48. This can show you some information about node_access values in
  49. the database when viewing a node page.
  50. 5. Force rebuilding of the permissions cache (table 'node_access'):
  51. "Rebuild permissions" button on page:
  52. "Administer >> Content Management >> Post settings".
  53. If the site is experiencing problems with permissions to content, you may
  54. have to rebuild the permissions cache. Possible causes for permission
  55. problems are disabling modules or configuration changes to permissions.
  56. Rebuilding will remove all privileges to posts, and replace them with
  57. permissions based on the current modules and settings.
  58. -----------------------
  59. UNINSTALL
  60. -----------------------
  61. 1. After disabling module, you can make complete uninstall by choosing Taxonomy
  62. Access on page: "Administer >> Site building >> Modules >> Uninstall".
  63. This will remove all your settings of Taxonomy Access: variables and tables
  64. ('term_access' and 'term_access_defaults')
  65. 2. After uninstall, if the site is experiencing problems with permissions to
  66. content, you can rebuild the permission cache.
  67. See "Troubleshooting Section 5".
  68. -----------------------
  69. CONTACT
  70. -----------------------
  71. Please, send bug reports, feature requests, or other comments about Taxonomy
  72. Access Control module: http://drupal.org/project/issues/taxonomy_access
  73. You can also contact me personally:
  74. Keve ( http://drupal.org/user/13163/contact )