1

I'm using the Field Group module to group fields on my user profile page. I have a number of fields that are only visible to admin users, so I would like to group them together to keep everything organized. I use the Field Permissions module to limit access to the fields to admin users only; however, this module does not restrict permissions for the field groups.

As a result, authenticated non-admin users see an empty fieldgroup. How I deny non-admin users access to a field group that should be shown only to admins?

3

You are probably using 1.x version of field_group module (which is the recommended version).

This problem has been solved (for most cases) in this issue. You could try the 2.x-dev version or use a simple JQuery script to remove the empty elements.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.