source: sipes/modules_contrib/field_permissions/README.txt @ 177a560

stableversion-3.0
Last change on this file since 177a560 was 177a560, checked in by José Gregorio Puentes <jpuentes@…>, 8 años ago

se agrego el directorio de modulos contribuidos de drupal

  • Propiedad mode establecida a 100644
File size: 3.3 KB
Línea 
1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
2;; Field Permissions module
3;;
4;; Original author: markus_petrux (http://drupal.org/user/39593)
5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
6
7CONTENTS OF THIS FILE
8=====================
9* OVERVIEW
10* USAGE
11* REQUIREMENTS
12* INSTALLATION
13* UPGRADING FROM CCK CONTENT PERMISSIONS
14
15
16OVERVIEW
17========
18
19The Field Permissions module is a drop-in replacement for the Content
20Permissions module shipped with CCK.
21
22The key differences are:
23
24  * It allows site administrators to set field-level permissions to edit or
25    view CCK fields in any node, and optionally (new feature compared to
26    Content Permissions), edit or view permissions for nodes owned by the
27    current user.
28
29  * Permissions for each field are not created by default. Instead,
30    administrators can enable these permissions explicitly for the fields
31    where this feature is needed.
32
33
34USAGE
35=====
36
37Once Field Permissions module is installed, you need to edit the field settings
38form to enable permissions for each where you need this feature. You can enable
39any of the following permission types:
40
41  * Create FIELD (edit on node creation).
42  * Edit any FIELD, regardless of its node author.
43  * Edit own FIELD on node created by the user.
44  * View any FIELD, regardless of its node author.
45  * View own FIELD on node created by the user.
46
47Use these options to enable role based permissions for this field. When
48permissions are enabled, access to this field is denied by default and explicit
49permissions should be granted to the proper user roles from the permissions
50administration page. On the other hand, when these options are disabled, field
51permissions are inherited from node view and/or edit permissions. In example,
52users allowed to view a particular node will also be able to view this field,
53and so on.
54
55
56REQUIREMENTS
57============
58
59- CCK (6.x-2.5 or higher).
60  http://drupal.org/project/cck
61
62  Field permissions requires that hook_field_access() is invoked with $account
63  as 3rd argument (added to CCK in 6.x-2.2, see [#336174] [1]) and $node as 4th
64  argument (added to CCK in 6.x-2.5, see [#514452] [2]).
65
66  [1] http://drupal.org/node/336174
67  [2] http://drupal.org/node/514452
68
69
70INSTALLATION
71============
72
73- Be sure to install all dependent modules.
74
75- Copy all contents of this package to your modules directory preserving
76  subdirectory structure.
77
78- Go to Administer -> Site building -> Modules to install module.
79
80- Review the settings of your fields. You will find a new option labelled
81  "Field permissions" that allows you to enable permissions per field. It
82  is disabled by default.
83
84
85UPGRADING FROM CCK CONTENT PERMISSIONS
86======================================
87
88The Field Permissions module is fully compatible with the permissions already
89defined with Content Permissions module shipped with CCK.
90
91  1. Make backups to ensure you can easily fallback in case of any trouble.
92  2. Install Field Permissions module while Content Permissions module is
93     still enabled.
94  3. Disable and then Uninstall Content Permissions module.
95  4. You can now check your existing permissions are still there, in the
96     Permissions administration screen.
97  5. Now, you may wish to disable permissions for fields where this feature
98     is not really needed.
Nota: Vea TracBrowser para ayuda de uso del navegador del repositorio.