I am looking around trying to set permissions for a cck type field. Where is the CCK Field Permissions admin? Any help is appreciated. The module has not readme file or any other documentation that would help understand the purpose of it.

CommentFileSizeAuthor
#5 menu.gif3.2 KBhectorplus
#4 cck_field_perm.gif11.7 KBhectorplus

Comments

arthurf’s picture

Status: Active » Closed (fixed)

you can enable the field permissions in admin/settings/cck_field_perms. On this page, you see the following text:

This module allows an admin to restrict CCK fields to some roles. Once you have enabled a content type, select which fields you'd like to restrict. Then, go to admin/user/access to allow user roles acces to that field. Please note: you must grant view access for a field once you enable this field to be permissions contoled. If you do not do this, no users will be able to view the field.

There are links in this text to the admin/user/access which is where you can control who has access to these fields. I have also added a readme file which has some of this information

hectorplus’s picture

admin/settings/cck_field_perms
I dont have this link. I am using drupal 5. The readme text you posted is not in the module itself. Do i have to delete the cck_field_perm once i upload the module? I am lost here.

arthurf’s picture

If you don't have that link, you probably haven't enabled the module. The readme file which you requested is in CVS. See:

http://cvs.drupal.org/viewcvs/drupal/contributions/modules/cck_field_per...

hectorplus’s picture

StatusFileSize
new11.7 KB

The module is enabled as seen in the attached file. Did i miss a step?

hectorplus’s picture

StatusFileSize
new3.2 KB

This is the menu where it suppose to be, i guess. See the attached picture.

arthurf’s picture

Status: Closed (fixed) » Postponed (maintainer needs more info)

Can you try the latest version? This should solve your issues.

hectorplus’s picture

The latest version i have is 5.x 1.4. Still no changes. I am stuck here.Its not working form me. Thanks for all your help.

arthurf’s picture

You have to:

1) enabled the module
2) select the content type that you want to enable the field perms on
3) select the fields that you are enabling the field perms on
4) go to admin > user > access to set the permissions for those fields

libkuman’s picture

Unfortunately at this time it seems like you have to be logged in as user with uid =1. We were having the same troubles as above until we logged in as this user. At the very least this should be mentioned in the documentation if not fixed as a bug.

hectorplus’s picture

Newest version of CCK has been improved and has an option of disabling a field. I never go the cck field permision to work. My needs have been met with the latest CCK.

Thanks you, i am glad you got it working. never thought to log in as user 1.

mrtoner’s picture

Third-party modules such as Moxie and Taxonomy Theme (which I use) have an additional access control, Administer , which is not present in CCK Field Permissions. Without this permission it is impossible for users other than User 1 to access the settings page (http://example.com/admin/settings/cck_field_perms) for this module, even if the user is given every other permission including administer site configuration.

mrtoner’s picture

This will make a little more sense:

Third-party modules such as Moxie and Taxonomy Theme (which I use) have an additional access control, Administer <module>, which is not present in CCK Field Permissions. Without this permission it is impossible for users other than User 1 to access the settings page (http://example.com/admin/settings/cck_field_perms) for this module, even if the user is given every other permission including administer site configuration.

advosuzi’s picture

Component: Documentation » Code

+1 for this bug. must be user 1 to access module settings

arthurf’s picture

5.1.5 should fix this issue, please update to this version.

arthurf’s picture

Status: Postponed (maintainer needs more info) » Fixed
kevin_ffvl’s picture

on cck_field_perms-4.7.x-dev 25 march, you have a spelling mistake
user_access('administer cck field permisions')
is to be replaced by :
user_access('administer cck field permissions')

that way, everything goes well without logging as "god".

colan’s picture

Title: Where to set the cck field permission? » Administer permission check always fails
Version: 5.x-1.3 » 4.7.x-1.x-dev
Status: Fixed » Active

I'm unfixing this one as it's still broken in 4.7. That missing "s" needs to be put in there.

colan’s picture

Category: support » bug

Actually, I think that this should be a bug, but I'm not totally sure what the official difference is.