[drupal-docs] migration guidelines thinko?

Dries Buytaert dries at buytaert.net
Sun Sep 4 16:27:45 UTC 2005


>> That last sentence doesn't make sense to me.
>>
>> You want to use $check = TRUE just before rendering content  
>> (using  the
>> filter system) that is potentially unsafe (eg. all content that   
>> isn't
>> saved yet).
>
> Well, this is why I asked, maybe I am confused, or the matter is
> confusing? You should not use TRUE "just before rendering", since TRUE
> implies that the current user is the submitter (ie. permission of the
> current user is checked), so if the content is displayed later, it
> should not be checked with TRUE, or some low privilege user would  
> not be
> able to see a PHP parsed page for example. This is why I don't
> understand what was the intention of the last sentence.

I think it's best to rewrite that section on the page (as you  
intended to do).

--
Dries Buytaert  ::  http://www.buytaert.net/




More information about the drupal-docs mailing list