How to hide particular field for specific role?

I have Article page content type with field title,description,ad_article_top,video etc. Also have one other role writer.writer can create article page content.

My issue is how to hide the ad_article_top field for writer role at the time he create content but if super admin create article page content the ad_article_top field not hidden

Give me some solution for solving this issue.

Replay

You can use Field Permissions module.

The Field Permissions module allows site administrators to set field-level permissions to edit, view and create fields on any entity.

Features

  • Enable field permissions on any entity, not just nodes.
    • Role-based field permissions allowing different viewing patterned based on what access the user has.
    • Author-level permissions allow viewing and editing of fields based on who the entity owner is.
    • Permissions for each field are not enabled by default. Instead, administrators can enable these permissions explicitly for the fields where this feature is needed.
Category: fields Time: 2016-07-29 Views: 0
Tags: fields

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.120 (s). 12 q(s)