I'm not sure if this is the right category for this, as I'm new to the drupal community.
I'm using the matrix field type in a cck. I have created the cck with a matrix field (5x8 if that matters), added the cck to the cck_field_perms settings, and added permission to deny access to the matrix field type.
Using the permission denied user:
I create new content and the permissions work correctly, hiding the matrix field. I then submit the new content. The view page shows the matrix field to the denied user.
I'm sure this is the fault of the matrix field, as it works perfectly for default cck fields. But is there a way to make this work for the matrix field?
Comments
Comment #1
arthurf commentedYou've got the right place to report bugs. The problem appears to be how the matrix field is rendered. In my limited testing, it appears that the cck_field_permissions correctly removes the content of the table, but not the table itself from the body of the node. This problem does not appear present under drupal 5.
I think your best bet is to either 1) custom theme the node or 2) upgrade to drupal 5.
I wish i could give better advice, but because of how nodes get rendered under drupal 4.7 this is going to be a rather tough one to fix.
Comment #2
redmonp commentedAhh, thanks. For some reason, I didn't notice that the data wasn't present.
I've been trying to customize view permissions for the matrix table, but the matrix data does not want to be called through the content_format function, which might be part of the reason why the table structure is viewable.
I may just try out 5.0. My only concern with that is that my php version is 0.0.2 points lower than the required php version. Oh, and the importexportapi isn't ported yet.
Comment #3
arthurf commentedWell, if you custom theme the node so you don't use $node->body, you could make thinks work in 4.....