I was going to ask this question but figured it out on my own. As simple as this module seems to set up it took me a long time to figure out. My first problem was that i didn't follow the instructions on disabling content permissions module prior to installing Field Permissions. For anyone kicking themselves over how to hide particular fields, this is how I set it all up, following the instructions, and then following these steps:


Install
1) Install Field Permissions module while Content Permissions module is still enabled.
2) Disable Content Permissions module.
3) All Existing permissions are retained in Permissions administration screen, however, instead of "content_permissions module" you will find, "field_permissions module"



Set Up

Go to content type. Go to "Manage Fields" and edit a field. Inside your field options, leave the fields which are selected:

0 Create FIELD (edit on node creation).
X Edit FIELD, regardless of node author.
0 Edit own FIELD on node created by the user.
X View FIELD, regardless of node author.
0 View own FIELD on node created by the user.



Now, select, "Create FIELD" and "Edit own FIELD"

Click Save.



Next, you want to go to Permissions page: /admin/user/permissions. Find "Field Permissions"

Amongst ALLLLL of the fields you have created over the lifetime of your site, you will have to look hard, but there are now 2 new content fields that exist under Field Permissions. One is called, "Create field_blah" and "Edit own field_blah"


Now, what you do with these is up to you. If you leave them as is (unselected), the field will not appear [to that particular user role] upon editing that particular content type.

For instance, if you select "Create field_blah" (and allow 'Users AB' access to create that field), then 'Users AB' will be able to see that field upon Node Creation!

If For instance, you decide not to select "Create field_blah" then 'Users AB' will NOT be able to see that field upon Node Creation.

Comments

calefilm’s picture

MISSED ONE STEP:

In order for all of the above to work as stated, you MUST disable the "Edit field_blah"

example: Go to Permissions page and find "field_permissions module"

find "Edit field_blah" and deselect it for 'User AB' role

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

calefilm’s picture

1timer’s picture

sub