Move proxy tests to use accessors.

This commit is contained in:
Andrew McMillan 2009-11-08 20:30:26 +13:00
parent c67bfeb7ad
commit 4aced6ff32

View File

@ -10,6 +10,10 @@
*/
dbg_error_log('PROPFIND', 'method handler');
if ( isset($c->new_propfind) && $c->new_propfind ) {
}
if ( ! ($request->AllowedTo('read') || $request->AllowedTo('freebusy')) ) {
$request->DoResponse( 403, translate('You may not access that calendar') );
}