| 1 |
$Id: README.txt,v 1.4.2.1 2008/07/10 19:57:39 deekayen Exp $
|
| 2 |
|
| 3 |
WHAT IT DOES:
|
| 4 |
-------------
|
| 5 |
This module allows users, when creating or editing a node, to select
|
| 6 |
which roles of users on a site will have 'view' permissions for the
|
| 7 |
node and which users on a site will have 'edit' permissions for the
|
| 8 |
node. Roles given edit permissions are automatically given view
|
| 9 |
permissions even if the user tries to give 'edit' permissions to
|
| 10 |
a particular role, but not view permissions.
|
| 11 |
|
| 12 |
TO INSTALL:
|
| 13 |
-----------
|
| 14 |
Drop the node_privacy_byrole directory into the modules directory
|
| 15 |
of your Drupal installation. In most cases, your modules should be
|
| 16 |
located at sites/all/modules in your Drupal filesystem structure.
|
| 17 |
|
| 18 |
TO ENABLE:
|
| 19 |
----------
|
| 20 |
Enable the module as you would any other module at
|
| 21 |
Administer > Site building > Modules
|
| 22 |
location: admin/build/modules
|
| 23 |
|
| 24 |
"View/Edit Permissions" will be a new option when editing nodes.
|
| 25 |
|
| 26 |
"Node privacy by role" will be a new fieldset for making default
|
| 27 |
permissions on specific content types at
|
| 28 |
Administer > Content management > Content types
|
| 29 |
location: admin/content/types
|
| 30 |
|
| 31 |
Managing each content type is where you grant permissions for
|
| 32 |
roles with rights to update permissions. Without doing this, you
|
| 33 |
won't see the new "View/Edit Permissions" box when editing nodes as
|
| 34 |
as a non-superuser account.
|
| 35 |
|
| 36 |
TO DISABLE:
|
| 37 |
-----------
|
| 38 |
Don't forget to run the Uninstall process after disabling the module:
|
| 39 |
Adminster > Site building > Modules > Uninstall tab
|
| 40 |
location: admin/build/modules/uninstall
|
| 41 |
|
| 42 |
According to http://drupal.org/node/178903, there are certain instances
|
| 43 |
where all nodes may loose all permissions when node_privacy_byrole is
|
| 44 |
disabled in Drupal 5.x. To repair this issue, run
|
| 45 |
Rebuild permissions at:
|
| 46 |
Administer > Content management > Post settings
|
| 47 |
location: admin/content/node-settings
|
| 48 |
|
| 49 |
Drupal 6 should handle the reversal process automatically.
|
| 50 |
|
| 51 |
OTHER NOTES:
|
| 52 |
------------
|
| 53 |
If the module is enabled, by-role permissions are set by users for
|
| 54 |
their nodes, and then the module is disabled, the default permissions
|
| 55 |
scheme will be in effect again, in which all users have view permissions
|
| 56 |
for all nodes.
|
| 57 |
|
| 58 |
After changing the default options for content types, you can mass
|
| 59 |
update nodes created before the default permissions change by using
|
| 60 |
the Rebuild permissions option at
|
| 61 |
Administer > Content management > Post settings
|
| 62 |
location: admin/content/node-settings
|