[development] Making #access required on forms

Greg Knaddison - GVS Greg at growingventuresolutions.com
Fri Oct 24 17:46:32 UTC 2008


On Fri, Oct 24, 2008 at 10:33 AM, Steve Ringwood <nevets at mailbag.com> wrote:
>   Sometimes I want to be able to create content for a user behind the scenes
>   but not allow them the ability to directly create the content.

That would still be possible by impersonating another user[1] (i.e.
uid 1) and then setting the node author name to a different user.

In general, I'm in favor of requiring #access at the base level of
every form.  I don't have a strong feeling about it on individual
fields, but I feel like Larry's proposal is pretty strong.

Regards,
Greg

[1] http://drupal.org/node/218104

-- 
Greg Knaddison
Denver, CO | http://knaddison.com | 303-800-5623
Growing Venture Solutions, LLC | http://growingventuresolutions.com


More information about the development mailing list