Files
Chamilo/vendor/sonata-project/admin-bundle/Security/Acl/Permission/MaskBuilder.php
2025-08-14 22:41:49 +02:00

28 lines
687 B
PHP

<?php
/*
* This file is part of the Sonata Project package.
*
* (c) Thomas Rabaix <thomas.rabaix@sonata-project.org>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sonata\AdminBundle\Security\Acl\Permission;
use Symfony\Component\Security\Acl\Permission\MaskBuilder as BaseMaskBuilder;
/**
* {@inheritdoc}
* - LIST: the SID is allowed to view a list of the domain objects / fields.
*/
class MaskBuilder extends BaseMaskBuilder
{
const MASK_LIST = 4096; // 1 << 12
const MASK_EXPORT = 8192; // 1 << 13
const CODE_LIST = 'L';
const CODE_EXPORT = 'E';
}