[Tickets #12342] Re: Caldav for -system- shares

noreply at bugs.horde.org noreply at bugs.horde.org
Thu Jul 11 11:37:26 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12342
------------------------------------------------------------------------------
  Ticket             | 12342
  Updated By         | Ralf Lang (B1 Systems GmbH) <lang at b1-systems.de>
  Summary            | Caldav for -system- shares
  Queue              | Kronolith
  Version            | Git master
  Type               | Enhancement
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


Ralf Lang (B1 Systems GmbH) <lang at b1-systems.de> (2013-07-11 13:37) wrote:


> TODO: either implement filters for listSystemShares or add a  
> systemShares filter option for listShares. listShares with  
> permission::SHOW and empty user may return unrelated non-system 3rd  
> party shares the user has SHOW access for.

Workaround: after fetching the listShares, filter if share has an owner:

         foreach ($shares as $id => $share) {
++            if (empty($queryUser) && $share->get('owner')) {
++                continue;
++            }



>
> Next: push a patch to master.






More information about the bugs mailing list