Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If I set a field to have no view, edit, create perms for a certain user role and put that field into a group, the filed shows up anyway for users in that role.
If I move that filed from the group to stand alone, outside the group I wanted it in, the filed permissions work as I set them.
This is not a replication of http://drupal.org/node/110882
Comments
Comment #1
ericG CreditAttribution: ericG commentedthis is partly related to a change in cck recently. groups are now prefixed with group_ not group-
so part of the fix is to change line 167 of the .module file from
if ($value['#type'] == "fieldset" && strstr($key, "group-")){
to
if ($value['#type'] == "fieldset" && strstr($key, "group_")){
but doing that hides any content in any group. So there must be something else that changed in cck that is confusing
function _cfp_no_fields
more info as I dig...
Comment #2
arthurf CreditAttribution: arthurf commentedYep. Thanks for noting this. Fixed in the cvs version There were a few other issues with field groups which should now be ported back from the 5.0 branch.
Comment #3
(not verified) CreditAttribution: commented