# TEST
# the 'permission' option for 'list' view is properly parsed

# CONFIGURATION
easy_admin:
    list:
        item_permission: 'ROLE_PERMISSION_1'

    entities:
        Category:
            class: AppTestBundle\Entity\UnitTests\Category
            list:
                item_permission: ''
                fields:
                    - { property: 'id', permission: ['ROLE_PERMISSION_3', 'ROLE_PERMISSION_4'] }

        Product:
            class: AppTestBundle\Entity\UnitTests\Product
            list:
                item_permission: 'ROLE_PERMISSION_2'
                fields: ['id']
