123456789101112131415161718192021222324252627 |
- <?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';
- }
|