YetiForceCompany/YetiForceCRM

View on GitHub
app/Integrations/Dav/Backend/AclPrincipal.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php
/**
 * SabreDav PDO Acl principal backend file.
 * This backend assumes all principals are in a single collection. The default collection
 * is 'principals/', but this can be overriden.
 *
 * @package Integration
 *
 * @copyright YetiForce S.A.
 * @license   YetiForce Public License 6.5 (licenses/LicenseEN.txt or yetiforce.com)
 * @author    Mariusz Krzaczkowski <m.krzaczkowski@yetiforce.com>
 */

namespace App\Integrations\Dav\Backend;

use Sabre\DAVACL;

/**
 * SabreDav PDO Acl principal backend class.
 */
class AclPrincipal extends DAVACL\PrincipalBackend\PDO
{
    /**
     * PDO table name for 'principals'.
     *
     * @var string
     */
    public $tableName = 'dav_principals';

    /**
     * PDO table name for 'group members'.
     *
     * @var string
     */
    public $groupMembersTableName = 'dav_groupmembers';
}