Does this work? CCK fields visibility by role?

Christoph C. Cemper - December 16, 2006 - 22:20

Hi,

just looking at CCK and contemplate again and wondering if there's a feature or enhancement already to VIEW certain fields (or groups) just by user-role or enable/disable that via a single custom privilege

I'd need only a simple scheme

- normal users
- admin users (they see all the fields)

Your help is appreciated

Christoph

You can probably use a

iandickson - December 16, 2006 - 22:43

You can probably use a variation of this in contemplate...

http://drupal.org/node/86241

Ian Dickson - community specialist.
www.emint.org - Association of Online Community Professionals

great - thanks for the link

Christoph C. Cemper - December 20, 2006 - 01:16

great - thanks for the link - will check it

CCK Field Permissions (new)

emaylx - December 27, 2006 - 08:32

there is new module:

http://drupal.org/project/cck_field_perms

HTH
Adam

wow - cool - that was fast!

Christoph C. Cemper - December 27, 2006 - 23:07

wow - cool - that was fast!

view perm missing

Christoph C. Cemper - December 28, 2006 - 01:06

Adam,

I just tested your 5.x version and found that it only gives us create / update privileges,
but the goal is to HIDE information from anon users as you wrote on the project page
(anon cannot create/update nodes ANYWAY)

did you plan or forget about this one?

thanks & best
christoph

module was submitted by Arthur

emaylx - December 28, 2006 - 01:42

Chris,

I'm just user, not developer, the module was submitted by Arthur:
http://drupal.org/user/27259
please re-send this message to Arthur
I will be able to confirm my own results a bit later since I am
still testing this new module

HTH,
Adam

*UPDATE*

yes, it seems module description suggest it gives control over VIEW fields,
but the .info makes it clear:
"description = Allows admin to restrict create and update access on specific cck fields."

there is note:
"Currently this module only supports creating and updating, it does not change the display of the node."

but at the same time it says also:
"Using this module you can allow only registered users to have access to that field."

I feel it is confusing

View priv

Christoph C. Cemper - December 28, 2006 - 08:17

Thanks, I mailed him and created this issue

http://drupal.org/node/105569

However, as I wrote,
anon ussers cannot create/update nodes ANYWAY (at least in NONE of my systems)
so my major prio is the view priv

cheers,christoph

--- http://www.cemper.com
--- http://weblog.cemper.com
--- http://www.marketingfan.com

CCK Field Perms now supports view

arthurf - December 28, 2006 - 17:38

My original use case did not require having view restrictions. It seemed like this could be handled on the theming side, however, since it appears to be in demand, I've put it into the 4.7 and 5.0 versions of the module.

 
 

Drupal is a registered trademark of Dries Buytaert.