Monday, 10 August 2015

Field Permission Moudle used to set the permission of any field of both the entity type and the account settings

Install and enable the module

Go to the module URL: https://www.drupal.org/project/field_permissions
Install and enable the module
Here is an example of using this module to set the permissions of a field of the account settings 

Set the permission of the field

Go to the Admin pane: admin/config/people/accounts
Switch to the Manage Fields tab
Click the edit link of the field that needs to be set permission for
Scroll down to the Field Settings part and choose Custom permissions radio button
The permission settings table will show up where we can set the permissions for the field

Check front page to see the effect

Use a front-end user to log in
Click the View tab of the profile page and the fields which is not empty and having the read permission will be displayed
Switch the Edit tab of the profile page and the fields which having the write permission will be editable, while the fields which having the read permission will show up with a read-only status


6 comments:

  1. Also, visit our website if you are looking to buy amazing products in Pakistan:

    Cheezain

    ReplyDelete
  2. That is very informative article!
    Thanks for the share with us.

    best doodledoos

    ReplyDelete
  3. greatest works "thanks for sharing with us
    Smart invest

    ReplyDelete
  4. Excellent article! The points shared are very helpful for medical students.
    Affordable digital marketing solutions

    ReplyDelete
  5. This is very informative article , thank you for sharing with us .
    Beginner stock investment tips

    ReplyDelete