Projet

Général

Profil

Paste
Statistiques
| Branche: | Révision:

root / htmltest / sites / all / modules / field_permissions @ a5572547

Nom Taille Révision Âge Auteur Commentaire
  images 85ad3d82 presque 11 ans Assos Assos Append of all multiassos project to git
CHANGELOG.txt 1,29 ko 85ad3d82 presque 11 ans Assos Assos Append of all multiassos project to git
LICENSE.txt 17,7 ko 85ad3d82 presque 11 ans Assos Assos Append of all multiassos project to git
README.txt 2,85 ko 85ad3d82 presque 11 ans Assos Assos Append of all multiassos project to git
field_permissions.admin.css 1,7 ko 85ad3d82 presque 11 ans Assos Assos Append of all multiassos project to git
field_permissions.admin.inc 17,4 ko 85ad3d82 presque 11 ans Assos Assos Append of all multiassos project to git
field_permissions.admin.js 2,97 ko 85ad3d82 presque 11 ans Assos Assos Append of all multiassos project to git
field_permissions.info 441 octets 85ad3d82 presque 11 ans Assos Assos Append of all multiassos project to git
field_permissions.install 5,56 ko 85ad3d82 presque 11 ans Assos Assos Append of all multiassos project to git
field_permissions.module 9,25 ko 85ad3d82 presque 11 ans Assos Assos Append of all multiassos project to git
field_permissions.test 14,8 ko 85ad3d82 presque 11 ans Assos Assos Append of all multiassos project to git

Dernières révisions

# Date Auteur Commentaire
85ad3d82 07/01/2014 22:05 Assos Assos

Append of all multiassos project to git

Voir les révisions

README


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Field Permissions module
;;
;; Original author: markus_petrux (http://drupal.org/user/39593)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

CONTENTS OF THIS FILE

  • OVERVIEW
  • USAGE
  • REQUIREMENTS
  • INSTALLATION

OVERVIEW

The Field Permissions module allows site administrators to set field-level
permissions for fields that are attached to any kind of entity (such as nodes
or users).

Permissions can be set for editing or viewing the field (either in all
contexts, or only when it is attached to an entity owned by the current user).
Permissions can also be set for editing the field while creating a new entity.

Permissions for each field are not created by default. Instead, administrators
can enable these permissions explicitly for the fields where this feature is
needed.

USAGE

Once Field Permissions module is installed, you need to edit the field settings
form to enable permissions for each field where you need this feature. You can
choose from three options:

  • Public (author and administrators can edit, everyone can view)
  • Private (only author and administrators can edit and view)
  • Custom permissions

The default value ("Public") does not impose any field-level access control,
meaning that permissions are inherited from the entity view or edit
permissions. For example, users who are allowed to view a particular node that
the field is attached to will also be able to view the field.

"Private" provides quick and easy access to a commonly used form of field
access control.

Finally, if "Custom permissions" is chosen, a standard permissions matrix will
be revealed allowing you full flexibility to assign the following permissions
to any role on your site:

  • Create own value for field FIELD
  • Edit own value for field FIELD
  • Edit anyone's value for field FIELD
  • View own value for field FIELD
  • View anyone's value for field FIELD

These permissions will also be available on the standard permissions page at
Administer -> People -> Permissions.

INSTALLATION

1) Copy all contents of this package to your modules directory preserving
subdirectory structure.

2) Go to Administer -> Modules to install module. If the (Drupal core) Field UI
module is not enabled, do so.

3) Review the settings of your fields. You will find a new option labelled
"Field visibility and permissions" that allows you to control access to the
field.

4) If you chose the setting labelled "Custom permissions", you will be able to
set this field's permissions for any role on your site directly from the
field edit form, or later on by going to the Administer -> People ->
Permissions page.

5) Get an overview of the Field Permissions at:
Administer -> Reports -> Field list -> Permissions

Formats disponibles : Atom