I want to restrict access (view/edit/delete) of specific fields, per role.

admin RoleA RoleB RoleC
Restrict View of Field: Name
Restrict Edit of Field: Name
Restrict Delete of Field: Name
Restrict View of Field: Account
Restrict Edit of Field: Account
Restrict Delete of Field: Account

I found this module: Field Permissions, but every time I create a new Role I have to go to each field and update it to give permissions to the new Role. So it would be more helpful if there was any module that restrict specific fields for specific Roles. Do you have any ideas?

Comments

ma-user’s picture

Does any one know any module that can help me?

VM’s picture

Fields permissions is the only module available at the fields level. If you want to reverse the logic you will need to write your own.

javihun’s picture

Have a look at organic groups , with it you can have a per og field access. Depending on your use case it can be an option.
https://www.drupal.org/project/og

NonProfit’s picture

Sorry, misread requirements.