[support] Chicken/Egg Problem with CCK Field Permissions

Earnie Boyd earnie at users.sourceforge.net
Thu Aug 13 12:42:51 UTC 2009


Quoting Fred Jones <fredthejonester at gmail.com>:

> We have a site with the content_permissions module. Some users can't
> therefore access some fields. Now the content manager writes:
>
>> If an item has required data fields that are not populated with  
>> values, then that item cannot be deleted until those required  
>> values are populated. This arises in the case that a required field  
>> is not visible to the user who created the item due to permissions.  
>>  So do you know of a way to suppress the requirement that all  
>> required fields be populated before an item can be deleted?
>
> I myself do not have an answer to this, but it sounds like a good
> question to me. :)
>
> Any ideas?

In your foo.module you use a hook_form_alter to set the [#required] to false.

--
Earnie
-- http://r-feed.com/           -- http://for-my-kids.com/
-- http://www.4offer.biz/       -- http://give-me-an-offer.com/




More information about the support mailing list