* GroupDAV preference for addressbook-home-set (requires to register hooks)

This commit is contained in:
Ralf Becker
2010-10-19 23:30:16 +00:00
parent edf5759a50
commit 2575da2575
4 changed files with 133 additions and 9 deletions

View File

@ -235,7 +235,7 @@ abstract class groupdav_handler
*/
function _common_get_put_delete($method,&$options,$id,&$return_no_access=false)
{
if (!in_array($this->app,array('principals','groups')) && !$GLOBALS['egw_info']['user']['apps'][$this->app])
if ($this->app != 'principals' && !$GLOBALS['egw_info']['user']['apps'][$this->app])
{
if ($this->debug) error_log(__METHOD__."($method,,$id) 403 Forbidden: no app rights for '$this->app'");
return '403 Forbidden'; // no app rights